Вы находитесь на странице: 1из 3

Using the test class found here: http://www.stefankrause.net/wp/?

p=14
I adapted the code so it only loops 380 times as opposed to 700, to avoid OutOfMemory
errors.
Editing idea64.exe.vmoptions here: C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition
14.1.5\bin

The command I write beside each bullet point below is the exact contents of the vmoptions
file (minus GC logging)
I notice that Allocation Errors are common in every log until I get to the G1GC and
subsequent.
Some GCs release some allocated space (like the 1st one below, but some stay horizontal
throughout)
All GC commands have the following 3 log commands (lines) appended:

-Xloggc:gc.log
-XX:+PrintGCDetails
-XX:+PrintAdaptiveSizePolicy

-XX:+UseParallelOldGC

Log:
http://pastebin.com/zrTZM5i5

-XX:+UseConcMarkSweepGC

Log:
http://pastebin.com/hSvCB7WW

-XX:+UseSerialGC

Log:
http://pastebin.com/kDk5FUik

-XX:+UseParNewGC

Log:
http://pastebin.com/hDkCsgSj

-XX:+UseParNewGC
-XX:MinHeapFreeRatio=5
-XX:MaxHeapFreeRatio=10

Log:
http://pastebin.com/cd3Y5pA2

Log:

-XX:+UseG1GC

http://pastebin.com/94m7i5mm

Continued Below

-XX:+UseG1GC
-XX:MaxHeapFreeRatio=40

Log:
http://pastebin.com/uYP4BP5f

-XX:+UseG1GC
-XX:GCTimeRatio=19
-XX:MinHeapFreeRatio=20
-XX:MaxHeapFreeRatio=30

Log:
http://pastebin.com/3a7YNZRj

Вам также может понравиться