Main menu 'memory leak' (Trivial)

Bug reports for the different beta versions of transcendence.
Post Reply
User avatar
Aury
Fleet Admiral
Fleet Admiral
Posts: 5421
Joined: Tue Feb 05, 2008 1:10 am
Location: Somewhere in the Frontier on a Hycrotan station, working on new ships.

Memory leaks are caused by not properly deallocating all memory for an object once its nolonger used..

In this case, memory is never deallocated from the wrecks in the main menu even though they are nolonger 'in-use', and the large number of wrecks is probably forcing state updates on each one every tick, bogging performance down further.

This generally is not an issue as just leaving the game running in the main menu on a decently powerful computer for a few hours wont cause any issues, but on a low end computer (like a cheap netbook) it can get pretty bad after a while.

It was enough to cause stuttering and lag on a 4GB AMD E350 HTPC we have after ~6 Hours (Possibly less since we just left the game in the menu while sleeping, woke up to see it was lagging. It would probably kill a 1-2GB intel Atom netbook outright, but we dont have one to test that on.

(Is this easy for the end user to fix? Yes, just restart the game or enter a game and exit it. But it was noticeable, and hence it got a 'trivial' bug level, but it honestly merits nothing more than that at this point imo.)

(This is probably a much bigger issue for the screensaver)
(shpOrder gPlayership 'barrelRoll)
(plySetGenome gPlayer (list 'Varalyn 'nonBinary))
Homelab Servers: Xeon Silver 4110, 16GB | Via Quadcore C4650, 16GB | Athlon 200GE, 8GB | i7 7800X, 32GB | Threadripper 1950X, 32GB | Atom x5 8350, 4GB | Opteron 8174, 16GB | Xeon E5 2620 v3, 8GB | 2x Xeon Silver 4116, 96GB, 2x 1080ti | i7 8700, 32GB, 6500XT
Workstations & Render machines: Threadripper 3990X, 128GB, 6900XT | Threadripper 2990WX, 32GB, 1080ti | Xeon Platinum 8173M, 48GB, 1070ti | R9 3900X, 16GB, Vega64 | 2x E5 2430L v2, 24GB, 970 | R7 3700X, 32GB, A6000
Gaming Systems: R9 5950X, 32GB, 6700XT
Office Systems: Xeon 5318Y, 256GB, A4000
Misc Systems: R5 3500U, 20GB | R5 2400G, 16GB | i5 7640X, 16GB, Vega56 | E5 2620, 8GB, R5 260 | P4 1.8ghz, 0.75GB, Voodoo 5 5500 | Athlon 64 x2 4400+, 1.5GB, FX 5800 Ultra | Pentium D 3.2ghz, 4GB, 7600gt | Celeron g460, 8GB, 730gt | 2x Athlon FX 74, 8GB, 8800gts 512 | FX 9590, 16GB, R9 295x2 | E350, 8GB | Phenom X4 2.6ghz, 16GB, 8800gt | random core2 duo/atom/i5/i7 laptops
Post Reply