Triggering garbage collection (GC) on java-based IDE, such as Netbeans or Eclipse can greatly improve IDE performance, especially if you do not restart IDE for a long time.
Easy way is to start JConsole (standard JDK application), connect to IDE process, select "Memory" tab and click "Perform GC"
BTW - JConsole can be started directly from Netbeans - In "Debug" menu select "Start JConsole"
Check this link for another way to trigger GC from Eclipse:
http://compdottech.blogspot.com/2009/05/trigger-gc-in-eclipse.html
No comments:
Post a Comment