I'm debugging a memory leak in a complex Javascript application (hundreds of files and nearly a million lines of code). It is a game, so it has heavy use of PNG graphics and the 2d canvas as well.
When memory profiling with Chrome's dev tools, I don't see much change in the heap allocation, yet the memory usage in Chrome's task manager continues to rise. In fact, the GPU memory plus the JS memory only total about half of the total memory. How can I go about debugging where the rest of this memory is going?