Jump to content

[KSP 1.7.2 incl all DLC's] KSP Memory Allocation Fix


Recommended Posts

Was getting random crashes using this on 1.11 during the load screen when launching a craft. I edited the config file's 30 seconds to 600 seconds and haven't crashed at all. RAM Usage is nice and low, below 6 GB.

I notice my game takes a long time to load the VAB when game uses 20 GB of RAM. Glad this tool exists; without it, I'd be restarting the game a lot more.

Link to comment
Share on other sites

  • 5 weeks later...
  • 1 month later...
  • 1 month later...

The plugin is working fine on 1.12, and has drastically improved my performance. My one complaint is that the beeps and trills the app makes when the config is changed or it boots up are often painfully loud compared to the rest of my apps, even when all else is at max volume with the system volume turned down to compensate. Even after some sleuthing through the code in Notepad++, I was unable to find the lines of code that make these sounds, and by looking at my Volume Mixer I was able to find that they are not played by the script, but rather by Windows system sounds, meaning they might be a Windows rather than a script issue, and I couldn't individually adjust their volume or mute them without quieting or muting important Windows notifications in turn. Any details I missed, or ideas on how to go about adjusting the volume of the script if it's possible at all?

Link to comment
Share on other sites

  • 7 months later...

Hello,

I wanted to use the plugin, as I suffer from the memory allocation issue , but I got an alert of my antivirus.
It reported that, but it is maybe a false positive: https://www.avira.com/en/support-threats-summary/7952?track=1

My KSP reported that despite 16Gb of RAM on my computer:

[LOG 20:54:44.532] VesselSimulator -> SimManager.RunSimulation() // Out of memory 


 

Link to comment
Share on other sites

  • 2 years later...

Registered to thank you for making this absolutely amazing utility!
Works like a charm on 1.12.5, but there's a peculiar thing i've noticed.
If i launch it before the game then while KSP is loading into it's allocated RAM, upon reaching around 1.2-1.3 GB it suddenly drops down to ~150 MB and starts climbing up again. This happens over and over and while it's at it, the main menu fails to show up, only blackscreen and unresponsive KSP process. But if i launch the script after the game has fully loaded it continues to work like it should and is keeping memory allocation way down, where it should be.

Link to comment
Share on other sites

  • 3 weeks later...

Holy carp. This mod is a god saver! I don't want to know witchcraft behind it, but it makes my game blazingly fast! All loading times are cut by half, and almost all freezes are gone. I can even throw vessel directly onto Duna from Kerbin, and as soon as it done loading it runs in perfect framerate! Funnily enough, on Duna it only eats 30% RAM, while in main menu 50%

Link to comment
Share on other sites

  • 1 month later...
  • 4 weeks later...

Um, this ran fine for years, but apparently its a trojan virus now? Id assume because it runs commands MS antivirus got an update and went crazy. Thought id let people know so they:

A: Know why it wont download
B: Know where it disappeared to
C: Dont download it if it is real?

Honestly I've used this fine since 2020 with no issues, but just letting yall know.

A3INksI.png

Link to comment
Share on other sites

On 11/25/2024 at 5:18 PM, Rambow_Ninja94 said:

Um, this ran fine for years, but apparently its a trojan virus now? Id assume because it runs commands MS antivirus got an update and went crazy. Thought id let people know so they:

I don't know about trojan, but malwarebytes flagged it as malware when I ran a check today. Not entirely sure what this is about but it's weird that at least two people have had this happen

Link to comment
Share on other sites

Antivi detect malwares by checking signature bytes. They look into the binary and try to figure out the minimal sequences of bytes that they could use to identify the malware while scanning files in the user's machine.

Problem: sometimes some these sequences of bytes are just code from very unusual, but safe snippets of code that ended up being useful for the malware - and then anything using these sequence of bytes legitimately ends up being flagged by accident.

It's the reason even CKAN got flagged as malware once.

Now, how to know if it's really a false flag and not a supply-chain attack that managed to score a hit just recently?

Well... Clone the repo, compile the thing yourself and binary compare with the flagged file. If they are identical, and after scrutinizing the source you don't find anything fishy, then it's a false positive for sure. Reach the anti-virus manufacturer and open a bug report, sending the file for further analysis.

If the binary you compile ends up being different from the original, then you may had found something - but it's not a sure thing yet, because you may had compiled the thing with debug mode or something similar. In a way or another, reach the maintainer to report the problem. Having our binaries being flagged as malware is, at bare minimum, uncomfortable. 

Link to comment
Share on other sites

  • 4 weeks later...
On 12/2/2024 at 4:09 AM, Lisias said:

Well... Clone the repo, compile the thing yourself and binary compare with the flagged file. If they are identical, and after scrutinizing the source you don't find anything fishy, then it's a false positive for sure. Reach the anti-virus manufacturer and open a bug report, sending the file for further analysis.

If the binary you compile ends up being different from the original, then you may had found something - but it's not a sure thing yet, because you may had compiled the thing with debug mode or something similar. In a way or another, reach the maintainer to report the problem. Having our binaries being flagged as malware is, at bare minimum, uncomfortable. 

Ok, I don't know how to do any of that lol, and windows defender auto-quarantines any downloads of this EXE i make, so even if I knew how I couldn't do it 

Link to comment
Share on other sites

I get a ton of flagged software from recent mod updates. My software flags it as suspicious because of how few machines have registered containing the same code.

When I look at the report it will inform me 

Only 6 users have ever resulted in this scanned piece of code. Apparently that is enough to be scrutinized. 

It's frustrating as heck when a new update rolls out for a game and I'm one pf the early ones to adopt the update. 

I'm not confident enough to go through and make the settings less stringent.

Edited by Fizzlebop Smith
Link to comment
Share on other sites

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...