Perfect memory usage is necessary for any application.
After write your application it comes to the performance monitoring.
The following comments for heap monitoring.
-verbosegc -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -Xloggc:filename.ext
when you run your application you get the log file filename.ext.
GcViewer is the best for displaying log file.
Then enjoy!
1 comment:
i have to add a note for this monitoring, that is not free, you can see the heap size increasements when trying to monitor your application.
Post a Comment