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:28]
194.249.198.48 Added garbage collector part
java [2012/12/06 17:29]
194.249.198.48
Line 42: Line 42:
 </note> </note>
  
-===== Choosing the garbage collector =====+==== Choosing the garbage collector ====
  
-==== Good/best practices ====+===== Good/best practices =====
  
 1. OpenJDK 1.6 and 1.7 may (as of now, 6. 12. 2012) still be unstable in stressful production environments leading up to segmentation faults and unintended behaviour. Use Sun/Oracle JVM for maximum stability and performance. 1. OpenJDK 1.6 and 1.7 may (as of now, 6. 12. 2012) still be unstable in stressful production environments leading up to segmentation faults and unintended behaviour. Use Sun/Oracle JVM for maximum stability and performance.
  
  
-==== Examples ====+===== Examples =====
  
 tying to limit jvm to ~2G of RAM (java x86_64) tying to limit jvm to ~2G of RAM (java x86_64)
Line 56: Line 56:
 java (i386) java (i386)
     java -Xms1400m -Xmx2G -XX:MaxPermSize=128m -server     java -Xms1400m -Xmx2G -XX:MaxPermSize=128m -server
-==== Troubleshooting ====+     
 +===== Troubleshooting =====
  
 === Resolving java.lang.OutOfMemoryError: PermGen === === Resolving java.lang.OutOfMemoryError: PermGen ===
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