The screenshot is from a memory profiler using a Windows server build. Im using a grid graph with cached startup with 900k nodes. I read that grid graph does take up a lot more memory especially with this size, but It adds a LOT of extra memory, about 700mb+, nearly double the server size without it
Im wondering if all those pathNodes are necessary to hold in memory? I assume the pathNodes are constructed using the single GridNodes array and can be reconstructed when seeking new paths anyway, so there is no reason to keep them around. And of course, when the path is done to release those pathNodes from memory as well. Or am i mistaken about where all this extra memory being held hostage is coming from in the package?
How can I remove the pathNodes, just keep the GridNode[] and use those when seeking paths? Is it possible?