So I’m developing my game and I decided to playtest it looking at the ping to optimize. I join and I’m at a stable 50-60ms, then 10-20 minutes later of just standing still doing nothing, it jumps to 180ms! I looked through the Dev Console’s “Scripts” tab but none of them had high rate nor activity. I also looked at “Untracked Memory” and it was at a constant 0MB.
The game also slowly creeps from ~980MB usage to just over 1000MB, suggesting to me that it’s a memory leak. However, I can’t find this memory leak at all. I’ve gone through all my scripts several times and I don’t see anything. I’ve searched across the forum and found nothing helpful. I was wondering if anyone could help me pinpoint what is causing the issue, if there’s any tools/methods I’m missing out on.
FYI, I’m using lots of ModuleScripts. I have a Framework (ModuleScript) which can be used to require other ModuleScripts located ReplicatedStorage through functions such as Framework:GetModule(Name, Type, …) or Framework:GetLibrary(Name).
I feel like the intense requiring of modules could be causing this ping, but it’s not like they’re required constantly, only at the beginning of some other scripts/modulescripts. AFAIK, Roblox caches them after the first require. Any support is appreciated. ![]()