Larian Studios
Posted By: Labeled I somehow created a memory leak. - 05/06/17 06:08 PM
I'm making a test map just learning how to use the editor and I've created a memory leak somehow. RAM usage just raises while doing nothing. It doesn't happen in other modules so I don't think it is the editor its self?

Is there anything I can do to find what has caused it?
Posted By: Labeled Re: I somehow created a memory leak. - 05/06/17 06:15 PM
I just tested it in-game, no memory leak. So it is something with the editor then.
Posted By: Abraxas* Re: I somehow created a memory leak. - 05/06/17 06:16 PM
I remember this issue from my early days but can't recall the concrete cause, but it was probably related to an object script. Have you written any in your module?
Posted By: Labeled Re: I somehow created a memory leak. - 05/06/17 07:55 PM
the only script I had added so far was for a simple dialog.

It started after trying to place a destroyed ship into the map, but even after removing it the memory leak is still there.
Posted By: Abraxas* Re: I somehow created a memory leak. - 06/06/17 05:36 PM
I'd always go for scripts first, even small mistakes can lead to spectacular effects sometimes. Otherwise, try disabling other parts of the mod, added around the time of the ship placement, and see if anything changes. Hard to say what it could be.
Posted By: Ameranth Re: I somehow created a memory leak. - 06/06/17 07:32 PM
If you had deleted any creatures during your editor session, this would have been the cause. Restarting the editor remedies the issue.
© Larian Studios forums