Started writing my post before you posted yours so I missed it. Got sidetracked and came back to it lol.
And yeah I dunno if the leak was in the level editor, I think it was the whole game, like gun game. Although the editor locked up on me? Not sure if thats related to mem leak. I put one robot, one plane piece, and one flying thing (dunno what that was? looked like the mouse icon, but apparently not because it didn't move). Soon as i went to test it, I couldn't move? checked my task manager and I think it built up over time, because checking a process 10 seconds after it crashed couldn't build up to 500MB of ram that fast.