Skip to content

"Out of memory" while building R with perl 5.8.2 (PR#6596)

2 messages · vangyzen@stat.duke.edu, Simon Urbanek

#
Full_Name: Eric van Gyzen
Version: 1.8.1
OS: FreeBSD 5.1-RELEASE
Submission from: (NULL) (152.3.22.120)


After updating perl from 5.6.1 to 5.8.2, R no longer builds.

Also note that the build continued even after the failure.  Is that a bug or a
feature?

================================================================================
 >>> Building/Updating help pages for package 'base'
     Formats: text html latex example 
  AIC                               text    html    latex   example
[snip]
  palettes                          text    html    latex   example
  panel.smooth                      text    html    latex   example
Out of memory during "large" request for 69632 bytes, total sbrk() is 536670208
bytes at /usr/ports/math/R-letter/work/R-1.8.1/share/perl/R/Rdconv.pm line 369,
<rdfile> line 120763.
*** Error code 12

Stop in /usr/ports/math/R-letter/work/R-1.8.1/src/library.
*** Error code 1

Stop in /usr/ports/math/R-letter/work/R-1.8.1/src/library.
MAKE="make" R_LIBS= ../../../bin/R CMD INSTALL -l ../../../library survival.tgz
* Installing *source* package 'survival' ...
4 days later
#
On Feb 17, 2004, at 8:32 PM, vangyzen@stat.duke.edu wrote:

            
I recall that the doc-generating perl scripts can use substantial 
amount of memory (easily 500MB on my box, for example), so how much 
memory do you have? Also 5.8 may have bigger overhead than 5.6 
resulting in the use of more memory ... Provided you have less than 
512MB, adding VM or preferably real memory should help ;)

This doesn't directly affect the functionality of R except for the help 
files that were not built, afaik.

Simon

---
Simon Urbanek
Department of computer oriented statistics and data analysis
Universit?tsstr. 14
86135 Augsburg
Germany

Tel: +49-821-598-2236
Fax: +49-821-598-2280

Simon.Urbanek@Math.Uni-Augsburg.de
http://simon.urbanek.info