Destroy doesn't seem to decrease memory usage

Not sure if this is the proper place to post this but destroying objects on the server doesn’t seem to decrease memory usage or it does decrease it but not as much as it should.

I’ve tested this on a place with 0 scripts. I used the dev console and deleted a large chunk of parts- little memory change. I went into studio and just deleted the chunk of parts altogether. That did affect memory significantly.

How can I fix this?

2 Likes

:Destroy doesn’t magically remove all references to the object destroyed. You likely have a memory leak (you still have a reference to the objects being destroyed so they can’t gc).

1 Like

I have no scripts running so a memory leak is impossible.

1 Like