Heap size

K

kempshall

Is there any way to increase the amount of heap memory available to the
JVM? I'm getting some OutOfMemoryErrors that I'd like to avoid.

Thanks.
 
A

Alun Harford

kempshall said:
Is there any way to increase the amount of heap memory available to the
JVM? I'm getting some OutOfMemoryErrors that I'd like to avoid.

Yes. Google "heap size"

Alun Harford
 
G

gadominas

the maximum heap size which you can play is 1.5GB.
try to set this heap amount to your preferable size as follow:
-Xmx<your_heap_size>m
 
M

Mark Thornton

the maximum heap size which you can play is 1.5GB.
try to set this heap amount to your preferable size as follow:
-Xmx<your_heap_size>m

On many Windows systems the maximum is rather lower than this, some
times even less than 1GB. It depends on the location system DLLs which
fragment the available address space. The heap requires contiguous
address space.

Mark Thornton
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top