Memory leak out of nowhere

Hey everybody, me and a few other people are getting ready for a game release but out of nowhere, the game just becomes really laggy and unplayable. We figured that this was a memory leak, but how do we spot it and fix it?

I have been looking at the developer console to figure out the cause, but I’m still confused.

Is anybody able to help? Thanks

1 Like

Is it clientsided or serversided, in the second case you can try to spot it with dev console, server, selecting the scripts tab, check for scripts using more than 1% memory and check them out

It seems to be serversided since everybody is effected by it

Send a screenshot of the scripts list serversided in the dev console.

Another thing to note as that the ping also skyrockets


This script seems to be the issue.

I’m going to disable the script and see if that fixes it

It didn’t change much, the game is still really laggy and my ping is over 3k

Can you record that console for about a minute with ping counter? So that we can see what script causes the lag spike. It could possibly be not memory leak, but place being not optimized.

Try searching with the global search tool ‘require’, and verify the scripts that have it, it might be backdoors.

The game is really laggy in the client, it runs just fine in studio

I looked for backdoors, the only thing I found with require() is just calling modules

It wasn’t a memory leak, it was just a bunch of animation controllers in the workspace.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.