I am trying to optimize memory usage of my application. I am using JProbe 5.2.2. for this purpose. I found my dialog objects are not getting garbage collected. When I debug the application in JProbe I found Win32GraphicsConfig is keeping the dialog reference in WeekHashMap.

Does anybody know how to free references from Win32GraphicsConfig? OR any idea about Win32GraphicsConfig?