How to redirect verbose garbage collection output to a file? Suns site shows an example for unix but it doesn't work for windows.
thank you very much for the great answer
djangofan
2009-07-21 21:28:57
java --Xloggc:firstgen.log -Xloggc:secondgen.log doesn't seem to work by the way.
djangofan
2009-07-21 21:31:51
Also, this doesnt increase the output, as I expected. There are no additional details after using these arguments:-Xloggc:gc.log -XX:-PrintGCDetails
djangofan
2009-07-21 21:39:03
"-XX:+PrintGCDetails" seems to work fine with -Xloggc. I don't know why the Sun page has a - instead of a +.
Michael Myers
2009-07-21 21:47:20
that worked. thanks! now, i use these options: set JAVA_OPTS=%JAVA_OPTS% -Xloggc:logs\gc.log -XX:+PrintGCDetails -XX:MaxPermSize=128m
djangofan
2009-07-23 19:57:04