aspose file tools*
The moose likes Java in General and the fly likes How to increase JVM Heap Size Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to increase JVM Heap Size" Watch "How to increase JVM Heap Size" New topic
Author

How to increase JVM Heap Size

Mohan Vinukonda
Ranch Hand

Joined: Jul 28, 2005
Posts: 32
Hi,
Any idea how to increase heap size of a JVM. Is there any provision to do this. Thnx! Mohan.
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18101
    
  39

The -Xmx command line option


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 13868
    
  10

The documentation explains exactly what command line options there are and how to use them.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Mohan Vinukonda
Ranch Hand

Joined: Jul 28, 2005
Posts: 32
Thank you very much for your response,

just extending to my previous quesitoin, how do we suggest JVM to use which algorithem for Garbage Collection.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36453
    
  15
Please, one question, one thread You have already asked about garbage collection here. I have edited that part of your post.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to increase JVM Heap Size
 
Similar Threads
OutOfMemoryError in wl7.0
Increase JVM Heap Size on NetBeans 5.5 on OS X Tiger?
java.lang.OutOfMemoryError
Increase JVM Heap Size on NetBeans 5.5 on OS X Tiger?
how to increase/decrease the heap size in java in windows