High CoreMemory

Hi,

I don’t know if this is the right category for this… but I’m having issues with CoreMemory in my project. The project is in a fairly new state, so there are not many scripts/objects/models/…

While the PlaceMemory is 145 MB, the CoreMemory is already 518 MB (during team test or when creating a server for x players). This results in an already higher total memory usage than some games. I know this isn’t much for pc standards, but I would like the project to be playable on mobile.

Is there anyway to reduce the CoreMemory? I’ve looked around on several posts but it seems like you can’t do much about it.

Thanks in advance.

Could be wrong but you can use debug.profilebegin to try and see whats taking up so much fo your memory. Roblox made a full video on how to use this utility here.

I don’t think CoreMemory is related to game scripts, I think it’s related to the engine and possibly Core scripts.

Correct me if I am wrong

Thanks for the answer, but I don’t think that it’s very helpful in this case, like @RadiatedExodus said.

It’s probably not closing your connections then and creating multiple instances on the server? Also UI handling on the server can be very expensive so it’s best to do that on the client. If you have a high level of CoreMemory usage and you have any of the above issues then that’s the case, if not then it’s most likely an engine bug.

1 Like

What instances are you referring to?

There is no UI yet.

I’m referring to using Instance.new() on the server multiple times and handling network ownership.

Oh ok.

I’ve just placed everything in my project in the server storage to see if the high memory usage would decrease, but CoreMemory is the same. So I guess it’s something with the engine?

Most likely yeah, people have had issues with unreasonably high corememory in the past, consider making a report, can’t think of any other issue that could contribute the problem.

1 Like

Yeah probably, I just created a new blank basePlate project and I have almost exactly the same CoreMemory.

1 Like

Is this in Studio? If I remember correctly the memory usage shown while testing in Studio is for the whole of the Roblox Studio program and not just the game. If you publish an empty baseplate and join the place it should be much lower.

2 Likes

Might try, thanks!

I’ve seen posts explaining this and I thought it was just in the studio view itself. In the studio, the total memory exceeds 1 GB for some reason, but when I create a server/team test, it goes down to 600+ MB.

You can read more about memory here: