I'm debugging a Javascript application using too much memory. In Heap Profiler, it says there's about 300MB, but according to Chrome's Task Manager, it uses about 950MB in total, with 40MB of "Javascript Memory."
It seems like the 650MB difference between Task Manager and Heap Profiler is due to native memory, based on this question:
Chrome Heap Snapshot - Why it doesn't show all the memory allocated?
However, I can't figure out what "native memory" is, and googling hasn't been helpful. What types of things go into native memory, and how would I go about debugging what is using so much native memory?
Possible duplicates (all unanswered):
Heap profiler's reports vs task manager's reports: who to believe?
Huge difference between memory usage displayed in chrome's task manager and memory timeline