| Failing to create JVM, but I have more than enough RAM [message #877506]
||Sat, 26 May 2012 22:21
I'm getting an OutOfMemory Java heap space exception, so I've tried to maximize all the arguments in the .ini file, which now looks like this:
But my computer is 4GB RAM, 1 of them shared for graphic purpose. Why can't I set them higher? Is there anyway to fix it?
|Re: Failing to create JVM, but I have more than enough RAM [message #877816 is a reply to message #877766]
||Sun, 27 May 2012 20:49
On 5/27/2012 1:21 PM, Jorge Antonio Díaz-Benito Soriano wrote:|
> I'm getting it because of my program, as a runtime exception. No matter if I run it from inside Eclipse or from the command line through java -jar. In that case, doesn't the virtual machine get as
> much memory as it needs?
No there are certain defaults that java runtime would use. I think you would need to use cmdline arguments to override defaults.
My guess is a programming issue more than java runtime issue. (that is, something your doing is likely causing the exhaustion rather than an actually case of the program taking to much memory doing
its correct function.
Powered by FUDForum
. Page generated in 0.05834 seconds