File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
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
Java Memory Heap Exception
Difference between Heap memory size and RAM
OutOfMemory Exception. Please Help!
how to increase/decrease the heap size in java in windows
what is the default size of java heap
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014