Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java in General
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Ron McLeod
Paul Clapham
Tim Cooke
Devaka Cooray
Sheriffs:
Liutauras Vilda
paul wheaton
Rob Spoor
Saloon Keepers:
Tim Moores
Stephan van Hulst
Tim Holloway
Piet Souris
Mikalai Zaikin
Bartenders:
Carey Brown
Roland Mueller
Forum:
Java in General
how to set more size of heap
tue march
Greenhorn
Posts: 16
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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
Posts: 140
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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,
Lionel Badiou
CodeFutures Software
Without deviation from the norm, progress is not possible - Zappa. Tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
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
More...