Staying 1.8 or 2GB memory usage from my game, just trying to optimize the game

so uh, accordingly my game is a rpg working for 6 months, me and my 3 devs working on game but.

when i was trying to optimize or whatever it is, my game has about 2GB memory usage but some of my devs said is like bout 1.7-2GB of memory usages.

i do play my own game for long time, but the game still stays at 2GB, can be also heat the phone sightly everytime i play for hour or some minutes (kinda mess to count the time)

sorry, i already know that cannot understand since i tried to speak the issues until now.

when i was testing the game checking the activity which the character client is bout 3%

(but I can’t work today since i got bit sick, this is rn of result how i learned to try optimize but still stays at 1.8GB it will be above 2GB later)

(if i made something wrong like loop mistaken)

i used like

function named Tickloop
which i used that as looping.

but i know there may be some of the clients causing with loop i assume.

(sorry if this topic were wrong i may be mistaken just blame me :pray:)


Try to not render unnecessary effects on the client and increase the wait time in loops. It also depends on what graphics level you have on your phone, maybe lower it some. Turn CastShadow off for small parts, like swords, etc.

how do i try to increase the time loop, but it doesn’t mean that will make the gameplay slower?

i can just try increasing the time loop and test but i used bout 1/10 on the task.wait

sometimes i used 1/30 mostly.

ye i think i put heartbeat and renderstep on the client character does the other game necessary to use it but only for client.

i also made all stuff turned off collision, cantouch and canquery it just sightly optimized but turning off cast shadow…
is still same but only help very sightly performance.

in other opinion it might be because of the model used for union, i heard that union can comsume memory usage.

what if just remodel the tree or other then, would that be good idea?

1 Like

You are only looking at the client memory usage which varies depending on how much memory you have to spare. Devices with more memory will always have a higher memory usage to better guarantee a smooth playing experience. You should view this on different devices to get a real idea of how much memory is being used on the client.

To view the server’s memory usage you should click where it says “Log” then set it to “Memory”, after that make sure to set it to “Server” not “Client”.
Roblox servers give you 6.5GB (6500MB) of memory as a start for total server memory and then another +100MB server memory for ever player that joins. Anything below that should be fine.

Also lastly, make sure you are NOT viewing memory usage inside of ROBLOX Studio as it is very inaccurate. (1000s of megabytes off of the real number, I get 3500mb client memory usage on a new baseplate.)