Roblox client unnecessarily allocates way more memory than the game size itself

Quite recently, I’ve had upgraded my daily-driver laptop from 16GB (8 + 8) to 40GB of RAM (32 + 8).
I’ve had huge performance boosts in every other aspect (VIsual studio, building CMake, games on Steam) except for ROBLOX, where the performance has tanked horribly due to my additional RAM.

  • The game client appears to be incapable of effectively allocating large memory resources within reasonable standards.

During the period whilst I had 16GB of RAM, about 1-2GB of RAM had ever been allocated by the client at all, with framerate being comfortably maxed out at graphics 10.

However, after I had upgraded to the 40GB of ram, the game client would unnecessarily allocate too much RAM for places that are barely detailed (8-30GB of RAM), and my framerate would start chugging at 15 frames on graphics 1 with huge spikes.

Some games don’t have this issue, but some do: I suspect its an instance class that immaturely allocates memory in the C++ framework.

13th Gen Intel(R) Core™ i7-13620H (2.40 GHz)
40.0 GB (39.7 GB usable)

The GPU is irrelevant to this issue, as it never suffered any spikes.

5 Likes

You should attach a Microprofiler dump to your post, it helps to identify the source of the problem

2 Likes

This happens to me as well, even when i play low load games, or highly polished games with presumably no memory leaks, i jave 2000 Mb + used. I don’t know why.

1 Like

ill update with a dump here once i join a game that causes the same issue again


joined a literal baseplate and my memory is slowly climbing, like a memory leak:
ill provide my dump in a second

2 Likes

microprofile-20250908-173521.html (6.1 MB)

its much more tame than usual, but still unusual for a baseplate

1 Like

Microprofiler dumps are most useful for debugging lag spikes. If you encounter them again, be sure to add another dump here.

Hello, checking in to see if you’re still seeing this memory leak. I wasn’t able to reproduce on the test baseplace you created on the latest clients.

1 Like

I am still seeing this, no reason why that i know of.

image
joined the same game again: memory still shouldnt be this high, i understand that you may allocate memory beforehand when its not actually used but this is ridiculous

the gradually rising memory does seem to fix itself, however ill see if it returns back in a different place

nvm the memory is rising again slowly, if you need any new microprofiler dumps or device related info let me know, im going to idle in the game to see if the memory stabilises eventually or keeps getting worse

(ended up stabilising at some point)
image

1 Like

If you have Microprofile dumps that would be helpful.

it appears memory allocation has gotten stable recently with the new roblox releases, thanks for looking into this:

1 Like

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