Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
java [2012/12/06 17:27]
194.249.198.48 [Good/best practices]
java [2012/12/06 17:28]
194.249.198.48 Added garbage collector part
Line 41: Line 41:
    * For efficient garbage collection, the **''-Xmn''** value should be lower than the **''-Xmx''** value.    * For efficient garbage collection, the **''-Xmn''** value should be lower than the **''-Xmx''** value.
 </note> </note>
 +
 +===== Choosing the garbage collector =====
  
 ==== Good/best practices ==== ==== Good/best practices ====
Line 67: Line 69:
 (Note that Xmx is separate from the PermGen space, so increasing Xmx will not help with the PermGen errors). \\ (Note that Xmx is separate from the PermGen space, so increasing Xmx will not help with the PermGen errors). \\
 **The PermGen memory in addition to the Xmx memory.  e.g. -Xmx128m and MaxPermSize=128m would use up to 256MB.** **The PermGen memory in addition to the Xmx memory.  e.g. -Xmx128m and MaxPermSize=128m would use up to 256MB.**
- 
  
  
java.txt ยท Last modified: 2012/12/07 12:29 by a
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready