I’m investigating memory issues in our game Heroes Battlegrounds due to reports of PS4 consoles crashing whenever joining a public server. Unexpectedly, some memory categories are entirely different across the platforms in terms of usage, and it’s making debugging difficult:
PC
PS4
UntrackedMemory sits at 5-50 MB. Apologies for the poor quality, I stitched together a phone picture.
I truthfully have no idea what’s going on here. I attempted to disable preloading of sounds on consoles, but it’s not helping that 820MB number for sounds. I started experiencing this issue at 2024-03-18T05:00:00Z, but it’s very likely that it happened before then.
It’s worth noting that both the accounts I tested this on had dev permissions. I also tested both without and got the same results.
Repro
Simply join Heroes Battlegrounds on a PS4 and check the memory in the dev console vs. a PC player’s memory usage. To join a private server, put an alt in your private server and join the alt from the home page.
If you join a public server, you’ll crash consistently, which I feel may be related to this issue.
Expected behavior
I first and foremost expect the PS4 version to not crash, but I also expect the memory usage numbers per category to not be wildly different. Any explanation would be greatly appreciated if this is my fault or can be avoided.