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

Search the Forums
See All Topics
Open CASCADEShowroomGet it!Developer CornerSupport and ProductsAbout us
Technical overview
Areas of use
Advantages
FAQ
Screenshots
Shape factory
Shape gallery
Demonstrations
What's new
System requirements
Download Center
Public license
Documentation
Getting started
Forums
Open Source community
Training and e-learning
A-la Carte Support
Value-added software
Complementary Components
Customer Corner
Company Profile
Marketing Materials
Contact Us
News
Home / Developer Corner / Forums / Installation and building / Java install running out of memory

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
  • Open CASCADE Technology 6.7.0 is available for download!
  • Open CASCADE Technology 6.6.0 is available for download!
  • Open CASCADE Technology 6.5.5 is available for download!

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