Zedwardson Posted October 12, 2019 Share Posted October 12, 2019 Did more testing, and now I have it working. Thanks! Quote Link to comment Share on other sites More sharing options...
choxieota Posted November 9, 2019 Share Posted November 9, 2019 Has anyone compiled a version for 1.8? Quote Link to comment Share on other sites More sharing options...
Krakatoa Posted November 9, 2019 Share Posted November 9, 2019 FWIW, I put it in my new 1.8.1 install, and so far, no problems. Quote Link to comment Share on other sites More sharing options...
Gordon Dry Posted November 9, 2019 Share Posted November 9, 2019 @Krakatoa When I add it to KSP 1.8.1 then the initial RAM usage after reaching the main menu is about 2.8 GB higher than without it (in my modded install)... just saying. I don't think that this means "it's okay for KSP 1.8.1" Quote Link to comment Share on other sites More sharing options...
AlexSheFF Posted November 19, 2019 Share Posted November 19, 2019 Oh my goodness! My heavily modded game used ~13.5 GB of RAM in the main menu with Final Frontier and without it RAM usage decreased up to 9 GB! Unbelievable I can play the game now Quote Link to comment Share on other sites More sharing options...
panarchist Posted November 19, 2019 Share Posted November 19, 2019 On 11/9/2019 at 2:49 PM, Gordon Dry said: @Krakatoa When I add it to KSP 1.8.1 then the initial RAM usage after reaching the main menu is about 2.8 GB higher than without it (in my modded install)... just saying. I don't think that this means "it's okay for KSP 1.8.1" It's just fine if you have 32GB of RAM in your system. ;-) Quote Link to comment Share on other sites More sharing options...
Gordon Dry Posted November 19, 2019 Share Posted November 19, 2019 @panarchist it's all about principles. Creating loopholes of code because mankind "invented more RAM" never was a good idea. Quote Link to comment Share on other sites More sharing options...
panarchist Posted November 19, 2019 Share Posted November 19, 2019 (edited) 1 hour ago, Gordon Dry said: @panarchist it's all about principles. Creating loopholes of code because mankind "invented more RAM" never was a good idea. Pretty sure in this case, it wasn't deliberate. Funny to see FF drawing that kind of RAM, though - never thought there was anything in that mod likely to do so. Then again, didn't Squad just change GC in 1.8.x? EDIT: Ok, I fired up my Win64 instance on Windows 10, with 42 mods (including Kerbalism and Final Frontier) and I draw a bit over 6.6GB of RAM. Without FF, it's 3.8GB. That's consistent with the 2.8GB you mentioned. Ouch. Edited November 19, 2019 by panarchist updated with results from my instance Quote Link to comment Share on other sites More sharing options...
canisin Posted November 23, 2019 Share Posted November 23, 2019 This is rather sad to hear I wonder what in this mod can be causing that kind of ram usage?!? Quote Link to comment Share on other sites More sharing options...
Beetlecat Posted November 23, 2019 Share Posted November 23, 2019 All the ribbon graphics likely need to be reviewed. If they all "decompress" would that create such a large inflated amount of ram usage? Quote Link to comment Share on other sites More sharing options...
Gordon Dry Posted November 24, 2019 Share Posted November 24, 2019 The ribbons are 120x32 .png - perhaps that is an issue. If they were 128x32 .dds ... but I have no clue. Quote Link to comment Share on other sites More sharing options...
Wyzard Posted November 25, 2019 Share Posted November 25, 2019 There are 584 .png files, all 120x32. Even stored as uncompressed 32bpp (4 bytes per pixel), that's less than 9 megabytes total. I doubt the ribbons are the problem. Quote Link to comment Share on other sites More sharing options...
Jade_Falcon Posted November 30, 2019 Share Posted November 30, 2019 On 11/19/2019 at 4:44 PM, panarchist said: Pretty sure in this case, it wasn't deliberate. Funny to see FF drawing that kind of RAM, though - never thought there was anything in that mod likely to do so. Then again, didn't Squad just change GC in 1.8.x? EDIT: Ok, I fired up my Win64 instance on Windows 10, with 42 mods (including Kerbalism and Final Frontier) and I draw a bit over 6.6GB of RAM. Without FF, it's 3.8GB. That's consistent with the 2.8GB you mentioned. Ouch. It does seem to be GC related, as without, at the KSC memory usage is about 3.2GB at startup, then it drops to around 500MB. With it, it stays at 3.2GB then steadily climbs. I don't see any errors in the console even with the logging in FF set to Trace, and I did try compiling for 1.8.1. Would definitely need a more skilled coder to take a look. Quote Link to comment Share on other sites More sharing options...
Gordon Dry Posted November 30, 2019 Share Posted November 30, 2019 Hope dies last, so: Fixing this bug also gives the community a clue why Unity does leak memory so much ... and how to avoid it from scratch. </dream mode off> Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted November 30, 2019 Share Posted November 30, 2019 (edited) Hi all, Since I'd like to use this, I decided to do some tests in 1.8, and the results were quite interesting. I'm hoping to get some help here. I compiled it for 1.8 (using @mwerle's fork), and dropped it into my dev system. The interesting result was that there was no detectable memory usage. 3121 meg without, 3145 with, and that's within normal variations. This was, of course, without any play time. So, if one or more of you would send me a save file which demonstrates the memory issues, it would be useful to have as a test. A 1.7.3 game would be acceptable. If you do want to share, please zip up the entire save folder. You can get it to me via a private PM if you don't want to put the game here Edited December 1, 2019 by linuxgurugamer Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted December 1, 2019 Share Posted December 1, 2019 On 11/9/2019 at 5:49 PM, Gordon Dry said: @Krakatoa When I add it to KSP 1.8.1 then the initial RAM usage after reaching the main menu is about 2.8 GB higher than without it (in my modded install)... just saying. I don't think that this means "it's okay for KSP 1.8.1" Were you running a version built for 1.8? See my above post Quote Link to comment Share on other sites More sharing options...
Gordon Dry Posted December 1, 2019 Share Posted December 1, 2019 @linuxgurugamer no ofc - I just replied to my previous poster who said all is okay with the old version Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted December 1, 2019 Share Posted December 1, 2019 2 hours ago, Gordon Dry said: no ofc Sorry, it's late and I'm tired. What is "ofc"? Quote Link to comment Share on other sites More sharing options...
Jade_Falcon Posted December 1, 2019 Share Posted December 1, 2019 9 hours ago, linuxgurugamer said: Hi all, Since I'd like to use this, I decided to do some tests in 1.8, and the results were quite interesting. I'm hoping to get some help here. I compiled it for 1.8 (using @mwerle's fork), and dropped it into my dev system. The interesting result was that there was no detectable memory usage. 3121 meg without, 3145 with, and that's within normal variations. This was, of course, without any play time. So, if one or more of you would send me a save file which demonstrates the memory issues, it would be useful to have as a test. A 1.7.3 game would be acceptable. If you do want to share, please zip up the entire save folder. You can get it to me via a private PM if you don't want to put the game here How long did you let the game run? I also used @mwerle's fork to build for 1.8.1, and without, my memory using was around that at approx 3200, but then dropped significantly after a few minutes, and that was just sitting at KSC. This is on a recently (yesterday) 1.8.1 install, some mods, new save with no pilot data, but I can send it if that helps. Ill also start a second save and play awhile if real data helps. Quote Link to comment Share on other sites More sharing options...
spikethedoggy Posted December 1, 2019 Share Posted December 1, 2019 3 hours ago, linuxgurugamer said: Sorry, it's late and I'm tired. What is "ofc"? 'ofc' tends to be used for 'of course' Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted December 1, 2019 Share Posted December 1, 2019 2 hours ago, Jade_Falcon said: How long did you let the game run? I also used @mwerle's fork to build for 1.8.1, and without, my memory using was around that at approx 3200, but then dropped significantly after a few minutes, and that was just sitting at KSC. This is on a recently (yesterday) 1.8.1 install, some mods, new save with no pilot data, but I can send it if that helps. Ill also start a second save and play awhile if real data helps. I ised QuickStart to get to a flight scene. Had about 20 mods installed. I ran it several times to be sure. Quote Link to comment Share on other sites More sharing options...
Jade_Falcon Posted December 1, 2019 Share Posted December 1, 2019 12 hours ago, linuxgurugamer said: Hi all, Since I'd like to use this, I decided to do some tests in 1.8, and the results were quite interesting. I'm hoping to get some help here. I compiled it for 1.8 (using @mwerle's fork), and dropped it into my dev system. The interesting result was that there was no detectable memory usage. 3121 meg without, 3145 with, and that's within normal variations. This was, of course, without any play time. So, if one or more of you would send me a save file which demonstrates the memory issues, it would be useful to have as a test. A 1.7.3 game would be acceptable. If you do want to share, please zip up the entire save folder. You can get it to me via a private PM if you don't want to put the game here Ok, PM sent for a save that has the problem, I also included a mod list if that helps. Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted December 1, 2019 Share Posted December 1, 2019 2 hours ago, Jade_Falcon said: Ok, PM sent for a save that has the problem, I also included a mod list if that helps. Thank you, I’ll look at it later. I would like a few more from other people Quote Link to comment Share on other sites More sharing options...
linuxgurugamer Posted December 1, 2019 Share Posted December 1, 2019 Just an FYI, if I get enough support in helping me debug the memory issues, I'll consider adopting it. Quote Link to comment Share on other sites More sharing options...
Brigadier Posted December 2, 2019 Share Posted December 2, 2019 2 hours ago, linuxgurugamer said: Just an FYI, if I get enough support in helping me debug the memory issues, I'll consider adopting it. What's the best way to report memory usage? 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.