I have a java code which basically creates, displays and then destroys geometry objects like spheres for a certain number of iterations. I use native opengl calls for displaying these objects. There is some memory leak in the code as the native memory keeps on increasing. I am checking the native memory by viewing the "Workink Set" memory in Task manager. However, when I ran the netbeans profiler, I couldn't find any memory leak. So, how to find the native memory leak? Are there any tools available to visualize both the native and heap memory usage?
Thanks!!