Skip to content

Compilation problems

2 messages · Peter Dalgaard, Brian Lee Yung Rowe

#
Well, I didn't go there because I don't have a clue....

What I usually try in such circumstances is to Google the error message and see if any ideas crop up. Looks like it is common to several applications that use Java, so not likely an R issue per se.

I'd look into 

- how to provoke the error to occur without make
- what are your resource limits (ulimit -a  is your friend)?
- are any environment variables affecting the Java memory use? If not, perhaps you need to set them to values less than the max allowed. Or twiddle command line options.

etc.

-pd
On 13 Aug 2014, at 10:46 , Andr? Z. D. A. <andrezda10 at yandex.com> wrote:

            

  
    
#
I would add it would be useful to know what system you are on and how much overall memory the machine has (not to mention how many other users are on the box). If you are on a linux variant, you can see installed memory by running: cat /proc/meminfo. You might also want to look at top to see how many resources are being used by you and others.

Regarding Java, if you had done a search for 'java xmx', you'd see that you can control the maximum heap size of the JVM using this option. [1]   So, if you know how much memory you have available on your system, then you can set this value to something lower and verify that you can start the JVM in isolation. As for specifics, I wouldn't know, since you didn't provide the JVM version you're using. Try java -version to give us specifics.

Brian

[1] http://docs.oracle.com/cd/E13150_01/jrockit_jvm/jrockit/jrdocs/refman/optionX.html

?????
Brian Lee Yung Rowe
Founder, Zato Novo
Professor, M.S. Data Analytics, CUNY
On Aug 13, 2014, at 5:15 AM, peter dalgaard <pdalgd at gmail.com> wrote: