linuxgurugamer Posted December 2, 2019 Share Posted December 2, 2019 I look at the Task Manager, click the Performance tab and then click Open Resource Monitor at the bottom. In the Resource Monitor, click the Memory tab. Find KSP.exe, and report on the 4 columns which refer to memory: Commit, Working Set, Shareable and Private You can also report the total memory shown in the Task Manager, in the Memory column So far, I haven't seen the issue. In fact, KSP seems to use LESS memory when FF is installed than without. I've tested on my own install and one sent to me by @Jade_Falcon For those who are seeing the memory issue, please report how you are measuring memory. And does it happen when getting to the main menu, or when you get into a game? Quote Link to comment Share on other sites More sharing options...
Temeriki Posted December 2, 2019 Share Posted December 2, 2019 9 hours ago, linuxgurugamer said: I look at the Task Manager, click the Performance tab and then click Open Resource Monitor at the bottom. In the Resource Monitor, click the Memory tab. Find KSP.exe, and report on the 4 columns which refer to memory: Commit, Working Set, Shareable and Private You can also report the total memory shown in the Task Manager, in the Memory column So far, I haven't seen the issue. In fact, KSP seems to use LESS memory when FF is installed than without. I've tested on my own install and one sent to me by @Jade_Falcon For those who are seeing the memory issue, please report how you are measuring memory. And does it happen when getting to the main menu, or when you get into a game? What version of ksp you want this tested on? Mods no mods, dlcs? Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted December 2, 2019 Share Posted December 2, 2019 (edited) 1 hour ago, Temeriki said: What version of ksp you want this tested on? Mods no mods, dlcs? 1.8, if possible. Both with and without mods. Obviously with FF, but please supply a complete modlist. Also, how you measured memory Edited December 2, 2019 by linuxgurugamer Quote Link to comment Share on other sites More sharing options...
panarchist Posted December 2, 2019 Share Posted December 2, 2019 On 12/1/2019 at 7:01 AM, linuxgurugamer said: Thank you, I’ll look at it later. I would like a few more from other people I can post mine tonight - sorry for the late response, but I was offline all Thanksgiving weekend. Just read the prior posts. Quote Link to comment Share on other sites More sharing options...
Brigadier Posted December 3, 2019 Share Posted December 3, 2019 Memory Report KSP 1.8.1 clean install, both DLCs. As applicable, FF v1.7.0-3466 installed by CKAN, Career save, normal difficulty. Total System Memory 32GB (In use: 8.1GB, Committed: 10/36.5), memory usage is the average of three runs, after an initial run of the new install. No mods, at Main Menu: Commit Working Set Shareable Private 4,397,151 3,123,616 54,892 3,068,725 At KSC: Commit Working Set Shareable Private 4,443,148 3,133,509 56,143 3,078,288 With FF, at Main Menu Commit Working Set Shareable Private 6,494,828 3,497,079 55,032 3,442,713 At KSC: Commit Working Set Shareable Private 6,479,988 3,308,528 56,309 3,252,261 There was no appreciable difference when entering or exiting the FF Hall of Fame at the KSC view. At the end of the exercise, however, there was an increase in the In Use memory to 8.5GB but no change to Committed, as reported by Task Manager. At first glance, KSP/Unity is leaking. Quote Link to comment Share on other sites More sharing options...
Klock Posted December 3, 2019 Share Posted December 3, 2019 I'm a long time forum-lurker/browser but just created an account because I'm having the same issue and have been trying to track this down. I stumbled into the FF thread totally by accident. Alas, my forum account is new, so I can't DM anyone yet. @linuxgurugamer if you can DM me details about getting you the save file and mod list, please do...else I'll wait till I've got enough posts / delay to send it. For reference, I'm running 1.7.3 on a machine with a lot of RAM (64...recent upgrade from a 16GB gaming rig) and haven't paid much attention to RAM usage until it started taking about 6-10 seconds to load map view in-game. I took about a month break from playing and I don't remember that kind of delay. Naturally, I added some mods before I started playing again last week, so I am not 100% sure what the culprit is...initially I thought it was something else, so I was doing clean installs followed by incremental mod application. I run with a lot of mods, but prior till now, my only delay is the initial loading of the game. When I run KSP without FF, this is the output of the Resource Monitor, Memory tab for KSP_x64.exe at the main menu (not loading a game): Commit - 11.6GB / Working Set - 10.7GB / Shareable - 48.5MB / Private - 10.7GB When I load a game and go to the Tracking Station without FF, the four memory values are: Commit - 13.1GB / Working Set - 12.0GB / Shareable - 49.3MB / Private - 12.0GB When I run KSP with FF, this is the output of the Resource Monitor, Memory tab for KSP_x64.exe at the main menu (not loading a game): Commit - 16.1GB / Working Set - 14.6GB / Shareable - 48.6MB / Private - 14.5GB When I load a game and go to the Tracking Station with FF, the four memory values are: Commit - 17.7GB / Working Set - 15.9GB / Shareable - 49.5MB / Private - 15.8GB Turning off FF doesn't seem to help my map load issue but it does appear to affect my RAM usage in a non-trivial amount. Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted December 3, 2019 Share Posted December 3, 2019 3 hours ago, Klock said: When I run KSP without FF, this is the output of the Resource Monitor, Memory tab for KSP_x64.exe at the main menu (not loading a game): Commit - 11.6GB / Working Set - 10.7GB / Shareable - 48.5MB / Private - 10.7GB When I load a game and go to the Tracking Station without FF, the four memory values are: Commit - 13.1GB / Working Set - 12.0GB / Shareable - 49.3MB / Private - 12.0GB When I run KSP with FF, this is the output of the Resource Monitor, Memory tab for KSP_x64.exe at the main menu (not loading a game): Commit - 16.1GB / Working Set - 14.6GB / Shareable - 48.6MB / Private - 14.5GB When I load a game and go to the Tracking Station with FF, the four memory values are: Commit - 17.7GB / Working Set - 15.9GB / Shareable - 49.5MB / Private - 15.8GB Turning off FF doesn't seem to help my map load issue but it does appear to affect my RAM usage in a non-trivial amount. Any chance you can test on 1.8.1? Anyone who want to test on 1.8.1, PM me and I'll get you the DLL which I've built. This will help eliminate any differences due to a different dll Quote Link to comment Share on other sites More sharing options...
Brigadier Posted December 3, 2019 Share Posted December 3, 2019 3 hours ago, Klock said: For reference, I'm running 1.7.3 on a machine with a lot of RAM (64...recent upgrade from a 16GB gaming rig) and haven't paid much attention to RAM usage until it started taking about 6-10 seconds to load map view in-game. I took about a month break from playing and I don't remember that kind of delay. Naturally, I added some mods before I started playing again last week, so I am not 100% sure what the culprit is...initially I thought it was something else, so I was doing clean installs followed by incremental mod application. I run with a lot of mods, but prior till now, my only delay is the initial loading of the game. I, too, have a heavily moded 1.7.3 save and am experiencing the same problem - a long delay switching from flight to map view, but not the other way. I originally thought it was the number of active flights I had but I've ruled that out based on other's experiences. Like you, it wasn't always present and last I looked there's no log spam indicating a problem there. I have no evidence what it is at the moment but I doubt it's a FF problem. Quote Link to comment Share on other sites More sharing options...
VoidSquid Posted December 4, 2019 Share Posted December 4, 2019 @Brigadier Are you using Kopernicus? There's a known issue regarding this delay, see here https://github.com/Kopernicus/Kopernicus/issues/382 Quote Link to comment Share on other sites More sharing options...
Brigadier Posted December 4, 2019 Share Posted December 4, 2019 11 hours ago, VoidSquid said: @Brigadier Are you using Kopernicus? There's a known issue regarding this delay, see here https://github.com/Kopernicus/Kopernicus/issues/382 Yes, I do because I play GPP on my 1.7.3 install. I followed the link and created the patch but the problem still occurs. Thanks for the info though. Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted December 5, 2019 Share Posted December 5, 2019 I'd like more people to test. It appears that in 1.8 the memory problem is gone, probably due to the new engine and better garbage collection, but I need more people to test to either prove or disprove this Quote Link to comment Share on other sites More sharing options...
Klock Posted December 5, 2019 Share Posted December 5, 2019 @VoidSquid, thanks, I can confirm that my map loading delay issue is resolved with the Kopernicus thread you provided. In the interests of staying on-topic though, I'll still help test the FF memory issue as I'm observing it on 1.7.3. @linuxgurugamer I hope to be able to test the 1.8.1 + FF test tonight. Do you want this with a base install plus/minus FF? Or, do you want me to additionally/instead test with my working mod list? My 1.7.3 is weighing in at about 121 mods whereas only about 99 mods are available on 1.8.1. It's enough of a difference that maybe it'll matter...but maybe not. Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted December 6, 2019 Share Posted December 6, 2019 I'm only looking at the 1.8.1 version. Test with and without FF Quote Link to comment Share on other sites More sharing options...
Klock Posted December 6, 2019 Share Posted December 6, 2019 v1.8.1 When I run KSP without FF, this is the output of the Resource Monitor, Memory tab for KSP_x64.exe at the main menu (not loading a game): Commit - 3.02GB / Working Set - 1.82GB / Shareable - 39.6MB / Private - 1.78GB When I load a game and go to the Tracking Station without FF, the four memory values are: Commit - 3.09GB / Working Set - 1.85GB / Shareable - 39.8MB / Private - 1.81GB When I run KSP with FF, this is the output of the Resource Monitor, Memory tab for KSP_x64.exe at the main menu (not loading a game): Commit - 3.03GB / Working Set - 1.84GB / Shareable - 40.2MB / Private - 1.80GB When I load a game and go to the Tracking Station with FF, the four memory values are: Commit - 3.20GB / Working Set - 1.91GB / Shareable - 45.0MB / Private - 1.87GB It does appear to be FF on v1.7.3...I'd be on 1.8.1 as soon as Kopernicus and a few other mods are updated. Though, I can't really see what the memory usage spike from FF does to my 1.7.3 game after I've patched the Kopernicus/map load delay issue. Quote Link to comment Share on other sites More sharing options...
VoidSquid Posted December 6, 2019 Share Posted December 6, 2019 I can test later today as well, you want Commit/WS/Private/Sharable or any other counters too, @linuxgurugamer? If other counters, which? Process Explorer offers these: Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted December 7, 2019 Share Posted December 7, 2019 To all, I have tested the mod using a 1.8.1 build and have not seen any issues regarding excessive memory usage. Additionally, the following users have also tested with the same results: @Brigadier @micha @Temeriki @VoidSquid My thanks to you all for testing, you helped confirm my own findings. My only conclusion is that one of two things has been happening: Bad garbage collection in pre 1.8 versions of the game Specific users had weird things happening which caused excessive memory usage Since @Nereid is back and will be updating the mod in a few weeks, I am ceasing investigating this mod. Quote Link to comment Share on other sites More sharing options...
Salnonax Posted December 8, 2019 Share Posted December 8, 2019 Found a sort of bug. I got credit for "landing with <1% fuel remaining with no deployable parachutes" when I think I shouldn't have since I think it's intended for a powered landing. I'm in career mode so the only 1.25-2.5 adapter I have is the fuel tank which I used to refill the main tank in a lower stage while in flight so it was empty and there were no attached engines. I then splashed the craft down with four parachutes in use and got the award. Quote Link to comment Share on other sites More sharing options...
Nereid Posted December 24, 2019 Author Share Posted December 24, 2019 Update for 1.8.1 Quote Link to comment Share on other sites More sharing options...
VoidSquid Posted December 24, 2019 Share Posted December 24, 2019 (edited) Thank you very much, @Nereid, and I wish you and your family and friends a Merry Christmas! My little Kerbals got their extra X-Mas Ribbon today, what a nice touch Edited December 24, 2019 by VoidSquid Quote Link to comment Share on other sites More sharing options...
Nereid Posted December 24, 2019 Author Share Posted December 24, 2019 On 12/8/2019 at 2:02 AM, Salnonax said: Found a sort of bug. I got credit for "landing with <1% fuel remaining with no deployable parachutes" when I think I shouldn't have since I think it's intended for a powered landing. I'm in career mode so the only 1.25-2.5 adapter I have is the fuel tank which I used to refill the main tank in a lower stage while in flight so it was empty and there were no attached engines. I then splashed the craft down with four parachutes in use and got the award. But you had a fuel tank? And it was empty? Then you qualified for this ribbon, because you met all its conditions. Kerbal logic is simple logic. Quote Link to comment Share on other sites More sharing options...
Krakatoa Posted December 24, 2019 Share Posted December 24, 2019 14 minutes ago, Nereid said: But you had a fuel tank? And it was empty? Then you qualified for this ribbon, because you met all its conditions. Kerbal logic is simple logic. I think that he meant it shouldn't have worked because he had 4 parachutes out. Quote Link to comment Share on other sites More sharing options...
Nereid Posted December 24, 2019 Author Share Posted December 24, 2019 1 minute ago, Krakatoa said: I think that he meant it shouldn't have worked because he had 4 parachutes out. Then its a bug. Maybe they changed something and FF doesn't detect parachutes anymore. Quote Link to comment Share on other sites More sharing options...
Krakatoa Posted December 24, 2019 Share Posted December 24, 2019 Now that I think on it for a moment, it's possible the capsule popped out of the water and relanded, triggering the award. Quote Link to comment Share on other sites More sharing options...
Nereid Posted December 24, 2019 Author Share Posted December 24, 2019 Maybe. If anyone can reproduce this, please tell me and please keep a save just before the landing. BTW: There is still quite a few lines old code in FF from old days , where KSP was buggy (e.g. didn't fire some events). And it was my first project in C#, (and in Unity) written in about two weeks (or less) initially. So weird things may happen. But changing them and streamlining the code is to much work and will introduce to many bugs. None of my friends is playing KSP - at least not regulary. And I'm very reluctant to change any basic things at the moment without at least two or three people testing it. And then there are other games at the moment that get my attention. Quote Link to comment Share on other sites More sharing options...
VoidSquid Posted December 24, 2019 Share Posted December 24, 2019 @Nereid It should be sufficient to hover a craft say 5m above the launch pad until fuel runs out and it falls down? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.