Memory Usage in game sky rocketing?

Me and some other devs are making a simulator game and we were working on the boss when all of a sudden when we tested all of a sudden our memory usage was at 1800mbs instead of 400mbs before?
My dev team leader thinks it is a virus but I couldn’t think of anything I used that could insert a virus since the last time I put a free model in the game it was a decal for sword reference, and that was a good week or two ago.
We’re also experiencing a 40 second loading time with just the skybox and a player list that only shows you?
Please help!

1 Like

what Is The boss?
Like Union or Blended Model

1 Like

It is just a regular R15 character that’s slightly larger.


Thats one of the bosses, they all follow the same kind of rig

1 Like

It couldn’t have been a virus. You likely have a memory leak. Could you show some code that has the highest activity?

You can go to View > Script Performance to see which scripts are having more activity.

2 Likes

Is it in a totally different place than the whole game?

1 Like

It is in Replicated Storage and it comes in and out as it respawns

1 Like

yes one second :slight_smile:
30cahrsssssss

1 Like

Well replicated Storage is the worst place as it is downloaded on both Client and Sever sides so the more typing is probably it being loading on both sides

1 Like

These are all the scripts running and it’s at 1800?

1 Like

Try downloading only on Server Side by keeping in ServerStorage and just place it in workspace

1 Like

Oh okay I’ll ask my scripters to try do this :slight_smile:

1 Like