This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes how to set more size of heap Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "how to set more size of heap " Watch "how to set more size of heap " New topic
Author

how to set more size of heap

tue march
Greenhorn

Joined: Mar 09, 2005
Posts: 16
hi,

can anybody explain how to increase the heap size and where should be it done and what command to use.

Thanks,
Good guy
Lionel Badiou
Ranch Hand

Joined: Jan 06, 2005
Posts: 140
You can specify those params:

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,


Lionel Badiou
CodeFutures Software
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to set more size of heap
 
Similar Threads
how to increase/decrease the heap size in java in windows
Java Memory Heap Exception
Difference between Heap memory size and RAM
what is the default size of java heap
OutOfMemory Exception. Please Help!