Fractal Softworks Forum
May 22, 2018, 09:01:27 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New blog post: Revisiting the Intel UI (05/07/18); Starsector 0.8.1a is out!
   Home   Help Search Login Register  
Pages: [1]
Author Topic: Memory leak?  (Read 381 times)
Posts: 656

View Profile
« on: September 13, 2017, 01:24:18 PM »

I noticed something odd while playing.

If I load a saved game a few times without exiting completely, the game becomes slower and at one point suddenly it begins freezing every few seconds.
If I try to exit and save, the save bar freezes, then moves a bit, then freezes and by the time it reaches the half point it stops moving.
Java starts eating all of the proccesor and ram and stops responding.
Posts: 11566

View Profile
« Reply #1 on: September 13, 2017, 02:16:25 PM »

That sounds very much like a memory leak, yes.

If you're running the game with a debugger attached, this is "normal" in that the debugger will hang onto things it doesn't need to and prevent old copies of the game engine from being released.

Otherwise, this is probably indicative of an actual memory leak; it's fairly likely that it would be in whatever mods you're running, as I'm not aware of any such leaks in the base game, at least not any common and easily reproducible ones, which it sounds like this one is.

(Edit: but if you're able to reproduce it in vanilla, I would love to know about it!)
« Last Edit: September 13, 2017, 02:19:29 PM by Alex » Logged
Pages: [1]
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2006-2011, Simple Machines
Simple Audio Video Embedder
Valid XHTML 1.0! Valid CSS!