• Post Reply Bookmark Topic Watch Topic
  • New Topic

Heap Size  RSS feed

 
SP Nam
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to increase or decrease the heap size from command line, please?
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24215
37
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With Sun's JVMs, it's "java -XmxNNNm", where NNN is a number in megabytes. The default is 64 these days.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!