• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to increase JVM Heap Size

 
Mohan Vinukonda
Ranch Hand
Posts: 32
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Any idea how to increase heap size of a JVM. Is there any provision to do this. Thnx! Mohan.
 
Henry Wong
author
Marshal
Pie
Posts: 20826
75
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The -Xmx command line option
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15150
31
Android IntelliJ IDE Java Scala Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The documentation explains exactly what command line options there are and how to use them.
 
Mohan Vinukonda
Ranch Hand
Posts: 32
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 47229
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please, one question, one thread You have already asked about garbage collection here. I have edited that part of your post.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic