Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics
 

Java install running out of memory

Java install running out of memory
John McClure 2005/08/08 09:44
I run a Gentoo Linux Notebook with a 2Ghz processor and 2GB of RAM and I am getting this message in my log.err file;

I used this command as my user;

user @ directory$ java -verbose -jar Linux/setup.jar

========================================================================
Install, com.installshield.product.actions.Files, err, java.lang.OutOfMemoryError
STACK_TRACE: 2
java.lang.OutOfMemoryError
=====================================================================

I watched the memory usage, and although Java tried its best to use up all the memory, it only got to 1.3GB before it quit. The rest of all my programs all together consumed only 300MB of memory, so together that adds up to 1.6GB leaving a clean 400MB overhead left.

What gives? What would make this make file consume all the memory?

Any ideas help would be great.

Thanks,

John
John McClure 2005/08/09 06:33
Well, I've answered my own question, and as it is good form to share solutions, I'll share mine now.

The issue was, that the heap size of the JVM needed to be increased.

I just inserted this command;

java -Xmx128m -verbose -jar Linux/setup.jar

and it installed with no problems.

I'm probably just stating the obvious here, but if not... good luck.

Cheers,

John
 
 
Latest news
  • OCCT Applications
  • Open CASCADE Technology 6.8.0 is available for download!
  • New features to enhance the development process

  • © OPEN CASCADE 2000 - 2014  |  Search  |  Contacts   |  Site map