Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory Leak during Flight Planning 1.12.2, Grothendieck #3124

Closed
larryfast opened this issue Sep 6, 2021 · 5 comments
Closed

Memory Leak during Flight Planning 1.12.2, Grothendieck #3124

larryfast opened this issue Sep 6, 2021 · 5 comments

Comments

@larryfast
Copy link

https://gist.github.com/larryfast/299073dd23631a7fa4eee24a4a5fc74f

Ubuntu 20.04
KSP crashes completely. No window, no warnings. It even takes out the whole Plasma GUI for a second.

@larryfast
Copy link
Author

Journal output should be available tomorrow.

@pleroy
Copy link
Member

pleroy commented Sep 6, 2021

What makes you think it's a memory leak? There is not even a Principia crash in that log file.

@larryfast
Copy link
Author

2G Journal file uploaded here: https://drive.google.com/file/d/11j8gzr8hEjeNZOHGaN8MCu98Spk9LdvJ/view?usp=sharing
Log files from that event are here: https://gist.github.com/larryfast/0112a53e514d3a1b124dbdaf455d06d4

So far this problem only happens when a Principia Flight Plan is open. It looks like a memory leak when I run 'top' and watch my free memory dropping. When it gets to close to zero Kerbal crashes.

Sorry, something went wrong.

@Growflavor
Copy link

Growflavor commented Sep 7, 2021

@larryfast

Please read Issue #3064 (especially the comments on Jul 19, as well as the most recent comment) as it is directly related to what you report here:

So far this problem only happens when a Principia Flight Plan is open. It looks like a memory leak when I run 'top' and watch my free memory dropping. When it gets to close to zero Kerbal crashes.

& observe if the over all KSP process memory grows around 1 MB per second (= about 1GB per 20 minutes) while the Flight Plan UI WITH a created flight plan is open on the screen & stops growing within a few seconds of minimizing the Flight Plan UI or deleting the flight plan.

Also try the mitigation steps suggested in #3064, to see if you see the same or similar memory growth & release timing patterns for the KSP process run on Ubuntu as I see with KSP run on Windows 10. That indeed would be interesting. Thanks.

Sorry, something went wrong.

@larryfast
Copy link
Author

Thanks. If I find anything new I will append it to issue #3064. Closing this as a Duplicate.

Sorry, something went wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants