Fractal Softworks Forum
September 20, 2017, 06:27:30 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New blog post: Economy & Outposts (9/19/17); Starsector 0.8.1a is out!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Memory leak?  (Read 98 times)
TrashMan
Admiral
*****
Posts: 644


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.
Logged
Alex
Administrator
Admiral
*****
Posts: 11039


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]
  Print  
 
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!