Hi. We've been experiencing a memory leak in our game and I've been narrowing it down and I believe I have cornered it. It seems to be in havok though, and I'm not sure what steps I can do to resolve it.
We are using Havok 7.10r1.
We are using the hkMemoryInitUtil::initFreeList() function to create a memory router that we pass to hkBaseSystem::init.
The problem comes when we use the hkBinaryPackfileReader. If we remove the lastreference for it immediately after loading a file, the leak is not there, but when we keep the packfile in memory, and then load other packfiles, and then remove the last referenceto the packfiles the memory leaks.
I would be happy to provide any information you need to help resolve this.
Thanks in advance.