Java install running out of memory

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

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.



John McClure's picture

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.