24.7.08

SWT leaks : Hacking !!

Recently i heard about a tool Sleak , it is a simple tool that monitors the creation and disposing of SWT graphics resources . It is written by people in swt team and is available for download here

It may not work correctly if you follow the instructions step by step in the tool , but everything will be allright if u create a plugin out of the downloaded org.eclipse.swt.sleak_1.0.0.200803140904.jar file and put in the plugin folder of your eclipse , rest follow the instructions there.

The beauty of the this tool is , it helps u to figure out the SWT resource handle leaking where as the other profiling tools profile in a generic memory point of view , i tried it and its great .

Thanks for the SWT team for made this tool available to eclipse programmers ....

0 opinions: