JOGL has been working great as a cross-platform way of generating OpenGL contexts for handing off to other native modules.
However Jogl (1.1b07) seems to be leaking about 0.5 or 1.5 MB of native memory for each GLCanvas that is created, used, and destroyed on Win32 and Mac respectively. Progress can be tracked using “ps” on the Mac and the task manager process list on Windows. Eventually the process runs out of memory and dies. The Linux implementation doesn’t has this problem…memory usage is constant and the program runs indefinitely.
I’ve built JOGL on Win32 and activated the DEBUG code to confirm that the destroy methods are being called (destroy & destroyImpl) as expected when the GLCanvases are removed from their containers. Runtime.getRuntime().totalMemory() and Runtime.getRuntime().freeMemory() also don’t grow, hence the basis for my suspicion that itis native memory that’s leaking somewhere in the platform-specific implementations…
Before I go through the trouble of boiling this down to a simple test case for a bug report, is anyone already familar with this issue and know of a solution? Or, is this the expected behavior with no workaround likely?