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.