Currently, every time someone respawns, their client side memory usage spikes up between 4-15 MB. There’s also a short, but noticeable ping spike of about 200-400ms
I know for sure that there’s some sort of memory leak going on, that a given. How would I go about searching for these leaks? Do I need to disconnect scripts within the character after they die? What about Guis? Do they need to disconnect too or is it automatic?
I’ve managed to fix some server-side code by disconnecting single use connections, but I’m not too sure as to what I need to do to handle client-side memory stuff.
Any help would be greatly appreciated, Thanks :)