FOUND a 100-300MB Ever Increasing Memory Leak on Realm Farming

I was doing Speed-runs of a second realm on repeat to farm a specific requirement and encountered a System Memory LEAK over a very short time.

My aim/process,
Starting a second realm, speedrun to boss + get to sacrament rockery and unlock the inventory for my character.

Then… QUIT to MAIN MENU
Delete Realm, Start a new one and repeat…Restart this over and over to access all inventory spaces in all categories.

What I noticed is when I quit the realm and went back to the menu and rebooted a new realm, I was always 300MB added to SYSRAM on each new run. As I run MSI Afterburner OSD for my PC performance statistics,
inc CPU/RAM/GPU/VRAM/FPS…

This 300MB increase give or take a little, builds over my subsequent runs, and would lower fps FURTHER, the asset loading FPS drops of new areas, were even harsher than previous runs, and even affecting AVG FPS.

After even just 4 or 5 speedruns and repeats, I went from 14GB SysRam used to about 16GB used, and the FPS dips were greatly increased in scope.
I could usually hold 60FPS-80FPS up the hill to the first boss, after subsequent runs it’s 60FPS expected turns into 45-50FPS, another couple of speedruns later it drops into the low 40 to mid 40’s… I’m sure if I kept repeating the process it would go even further…

So between quitting a realm, and starting in a new realm, I believe there is a Memory Leak, adding 300MB (give or take some) to overall system ram usages for following playtime, if someone was farming with realms, or switching realms for other circumstances… they may encounter this, I only have one PC to test on… I’ll detail my specs below.

10th Gen i9 10850K
DDR4 4133 CL16 (32GB)
RTX4080Super
Powerful enough to sustain 60FPS even in most CPU limited areas, the only dips I really see are asset loading stutters of new areas or possibly shader creation stutters (if thats a thing in your game)

I just wanted to mainly point out, the 300MB increase of quitting a REALM to Main Menu, and starting another realm, with increased SYSRAM usages, and followup runs ADD to that effect.

Thanks for your time, thanks for the game thus far :grinning:
Regards, Steven

2 Likes

Wouldn’t this post be better if it was reported as a bug? you can edit the tags.

1 Like

I type bug/bugs into tags and nothing… I just got here I don’t know really how it all works.

Cheers Astont36 I’ll head to the right place after I gathered more info for the developers :+1:

Sorry, its not a tag, its a category. Hope that helps.

If you can’t change it then I’ve flagged the post. Hopefully they move it to bug reports.

This is a really interesting discovery and I’ll try to test this myself as well to see if I can get the same results to help test different PC setups.

If you can, you should grab the error logs as detailed in this post to help the devs nail down the cause of the memory leak.

To NOTE… I always quit back to Main Menu from outside the Rockery door (top level) after expanding the inventory.
Cheers

EDIT - Okay I just did just over an hour of my speedrun, the second load has me around 9.3GB used at the beach and 9.8GB at the rockery, the last run has me at 11.8GB at the beach and 12.5GB at the rockery.

Collected DXDiag and Log files.
Uploading video to google drive and ill make a proper bug report.

I’m just appending the bug report post to the end post of this topic in this section in case people come see this thread first.