Jump to content

[question]Bigger parts folder = more lag?


Shortsonfire79

Recommended Posts

Hello, I was wondering if you have a parts folder with a significant amount of stock parts (that aren\'t in use) if that would create excess amounts of lag. I go through all the mods and pick out the few pieces I\'d need but I still find that as my parts folder grows, even with smaller rockets there seems to be more lag than before.

If this is normal I\'ll have to go through and sort out all the parts that I thought I\'d use that I\'ll have to live without. Thank you!

Link to comment
Share on other sites

I don\'t think that\'s the issue..

They just increase loading times of the game.. And while the game is running only the parts that are on the rocket are loaded and simulated in your memory..


I did some testing with all stock parts.. And with 10 copies of each part..

Over 2.5Gb was the folder size..

Link to comment
Share on other sites

Nope, nope. Due to the programming of Unity (the engine KSP is built on), it cannot load parts on-the-fly. They all have to be loaded and kept in memory from the very start. As such, the more parts you have in the parts folder, the slower your game gets, to the point of running out of memory on some systems when too many are installed for the system to handle.

At least, last time I saw this explained, that was roughly how the Devs explained it, IIRC.

Obviously, there are plans to try to change this in future, with workarounds and all that. We\'ll see.

Link to comment
Share on other sites

Yes, for the same reason -- the game loads all plugins at startup as well, and must also keep them all in memory.

I know some users get around this by having two copies of KSP installed -- one that always remains vanilla, so if they feel like doing it without mods they can, and one with all the mods in it.

Link to comment
Share on other sites

Is there a command that you can use to allow KSP to use more ram? When I run my game I have my Activity Monitor (Mac version of Task Manager) and I can see that KPS uses no more than 1.05gb of ram and 99% of my cpu :\'( Is there a way I can allot more memory to the game? Open it with a Xms command or something?

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