Massive Memory Leak

Issue:
I was testing in studio and all of a sudden my game freezes and I check task manager and see that all of my memory is being used up, I also noticed this issue when I was using Roblox Pathfinding Service.
When you block the pathfinding path your memory gets fully used up and studio game freezes.

I have no idea how to re-create this issue besides just playing the game in studio, my code hasn’t done this before and I haven’t changed it.

System Specs:
I5-13600K
32GB 6000HZ DDR5 RAM
4070
Windows 11 Pro

image

Dump files were attached to the internal ticket by a Roblox Staff (@Focia19) as they may contain sensitive information, will not be made public!

13 Likes

This has been an ongoing issue for me, one time a baseplate game was using up 1000 MB of memory,not fun to work with.

3 Likes

Does that say 22GB? I’ve also had issues with excessive Memory issues with it reaching 2/3GB of ram. I also haven’t had these issues before, I’ve been mainly seeing this issue for the past month or so.

1 Like

Yes, I have 32gb ddr5 ram.
The ram usage varies from around 14-25+ GB, the longer studio stays open it gets higher

2 Likes

Wow, I’ve never seen a game use that much RAM in Roblox. That’s 100% an issue, the most I’ve seen a game use was about 4GB and the game had a lot of stuff.

2 Likes

Something similar has been happening to me on my Mac. At completely random times, I get an alert that I ran out of application memory, and that Roblox is using ~60GB of application memory, so I’m forced to restart studio. The number usually rises at around 100MB per second until it reaches the ~60GB cap. I don’t have any problems on Windows so far, though.

3 Likes

I use pathfinding service in my game for about 40 NPCs at any given time. It runs fine.

1 Like

How are you using pathfinding? I think this could only happen if you constantly call :CreatePath without deleting any paths created before.

1 Like

Using 2+ local player test servers on Studio can rack up a bunch of background processes, even if you use Cleanup. After about an hour of testing, I noticed my PC’s RAM was using 20/32GB with nothing running (not Roblox Studio either). Looked at my background processes and had around 5+ Roblox Studio background processes with atleast 2-3gb in use along with other smaller Studio processes taking up a smaller amount of GB. Solution was to end all those tasks separately.

Happened to me yesterday. Was so incredibly bad i had to shut down my PC, and i have specs on the higher end. They NEED to fix this issue.

the only time this memory leak happens is when the path is blocked, when it’s blocked it’s supposed to repath and use the new path but instead studio starts to meltdown

I wasn’t using local players to test server, it was just normally testing using F8 and F5 (Play and Test) both ways caused the memeory meltdown

1 Like

That usually happens when studio crashes or doesn’t close properly in the background.

Thanks for the report. We’ll follow up when we have an update for you!

2 Likes

We have released a memory fix in pathfinding and are seeing an improvement in most experiences.

Can you confirm if you are still experiencing this issue?

1 Like

Hello, bumping this thread one last time to see if this is still an issue or if the memory fix has addressed it. Marking the issue fixed for now; we hope that you are back up and running but please let us know if not!

1 Like

Sorry for the late reply for some reason the dev forum notification didn’t say I had a reply, but yes the issue is now resolved thank you!

1 Like

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