I have a Java application that uses LWJGL and a couple of my own native libraries. I’ve been able to do some memory profiling with Java Mission Control, CodeXL (for OpenGL) and LWJGL’s memReport(), but this doesn’t give me the complete picture, and there’s about 100 MiB for which I can’t account. I’d like a clear idea of what’s going on outside of the Java heap.
How do you guys profile your games’ memory usage? What tools have you found to work well (particularly on Windows)?