Getting Out Of Memory: Java heap space, but while viewing heap space it max uses 50 MB

Posted by ikky on Stack Overflow See other posts from Stack Overflow or by ikky
Published on 2010-03-09T15:43:10Z Indexed on 2010/03/30 14:03 UTC
Read the original article Hit count: 442

Filed under:
|
|

Hi! I'm using ASANT to run a xml file which points to a NARS.jar file. (i do not have the project file of the NARS.jar)

I'm getting "java.lang.OutOfMemoryError: Java heap space.

I used VisualVM to look at the heap while running the NARS.jar, and it says that it max uses 50 MB of the heapspace.

I've set the initial and max size of heapspace to 512 MB.

Does anyone have an ide of what could be wrong?

I got 1 GB physical Memory and created a 5 GB pagefile (for test purpose).

Thanks in advance.

© Stack Overflow or respective owner

Related posts about java

Related posts about heap