A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
how to set more size of heap
Joined: Mar 09, 2005
May 09, 2005 01:07:00
can anybody explain how to increase the heap size and where should be it done and what command to use.
Joined: Jan 06, 2005
May 09, 2005 04:12:00
You can specify those params:
java -Xms64m -Xmx512m
where -Xms<size> specifies the initial Java heap size and -Xmx<size> the maximum Java heap size.
I think those values are set to 50m By default. Sometimes, increasing heap size could (lightly) improve JVM launch.
Hope that helps,
I agree. Here's the link:
subject: how to set more size of heap
what is the default size of java heap
how to increase/decrease the heap size in java in windows
Difference between Heap memory size and RAM
Java Memory Heap Exception
OutOfMemory Exception. Please Help!
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013