Jump to content

SPH-only memory leak?


Recommended Posts

As a long time player (since 1.0), I am aware of many memory leaks which have been reported over the years: some patched, some not.

However, I have noticed a specific issue which may (or may not!) help any dev's reading this, or at the very least may help to make life easier for some other players.

That realisation is that: the SPH (in the linux version [unmodded, but with all DLC] in particular, but I suspect this is not just a linux issue) has a specific memory hole, and working in it too long will cause odd effects, and eventually failure.

Here's the bullet point rundown:

  • Historically I've worked 99% of my time in the VAB. Couldn't ever really get the hang of the SPH controls.
  • I've spent many happy hours designing vessels. Some small, some large, and very rarely encountered any issues.
  • In the last week I've been working specifically on planes, in the SPH for extended periods of time.
  • In this time I have noticed a number of issues: KAL not saving schemes when launching; in extreme cases being unable to launch or load other vessels. This does not seem to happen until I have been in the SPH for some time.
  • The biggest issue: after a long SPH session, closing down KSP seems to take a *very* long time (i.e. there is a large pause between initiating closedown and the program fully terminating), compared to normal.
  • Here's the oddest one: after working in the SPH, and starting to notice issues, I opened the VAB (which took longer than normal), closing it immediately and then quit the game. Quitting after this procedure was very quick.

The weird thing is how this appears to be unique to the SPH, and potentially undone by switching to the VAB. Is there something in those background animations that is slowly but surely killing performance?

I post this more as a discussion than a specific technical question (though if there were a solution I'd love to hear it). If this is better suited to other forums please feel free to move it.

Link to comment
Share on other sites

Hmm, 
Try this.
Don't know if it works on Lynx
It fixes about 95% of KSP memory leaks.
Check task manager (or the lynx equivalent) and see the usage before and after.
Alternatively, it may just be a PC heat issue for being on the game for long periods of time.
 

 

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...