This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to set more size of heap

 
tue march
Greenhorn
Posts: 16
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can specify those params:

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,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic