project-navigation
Personal tools

Author Topic: Memory Leak?  (Read 3143 times)

Offline Soandso

  • Rookie
  • ***
  • Posts: 34
    • View Profile
Memory Leak?
« on: December 04, 2014, 12:51:01 am »
My page file is turned off, so I can tell quite clearly when I run out of RAM because the game closes with an allocation exception.  It doesn't crash in battlescape.  The interface starts chugging in the market with each purchase taking a moment.

Offline mikehg

  • Rookie
  • ***
  • Posts: 21
    • View Profile
Re: Memory Leak?
« Reply #1 on: December 04, 2014, 05:33:20 am »
I haven't rebuilt in a while (finishing my campaign first) but I noticed this too.

Turning the 'Cache models in menus' option (not its actual name probably, but it should be easy enough to find) on makes things much quicker for me once the whole thing loads (6GB system though). But even then I have to restart every so often...

Offline anonymissimus

  • Sergeant
  • *****
  • Posts: 347
    • View Profile
Re: Memory Leak?
« Reply #2 on: December 04, 2014, 03:53:14 pm »
Indeed. I suspect memory leaks related to market actions too. And I always play on Linux, and it was with 2.5 already. It is most noticable when transferring alien materials or antimatter. Saving and relaunching often increases speed greatly. Perhaps it's related to switching through bases while the market view is open.
So, take valgrind and find it.
EDIT
Btw, watching the page file grow in task manager is a good indicator as well.
« Last Edit: December 04, 2014, 03:55:18 pm by anonymissimus »

Offline Soandso

  • Rookie
  • ***
  • Posts: 34
    • View Profile
Re: Memory Leak?
« Reply #3 on: December 04, 2014, 05:34:14 pm »
My computer is from ~2007 with 2gb.  But it was free!