Jump to content

Request for mod to show memory used by each mod (.dll)


Recommended Posts

Hello to all.

I am trying to sort out where a memory leak is in my setup of ksp 1.1.2

I am using a heavily modded version that typically will be at 4.8 to 5.2 gigByte and then will grow to 19 - 22 gigByte after leaving on for 4 to 6 hours.

Is it possible to show how much each portion (dll) is using?

The log file shows all of the dll's, their version and such, so would it be possible to show the initial memory footprint and then be able to dump the updated memory values when a key comb is pressed or some other way.  Maybe a popup in the space center to re-fetch the memory data???

 

I am trying to do it a mod at a time, but whew that will take a long time and might miss some interaction that is causing or might be causing the leak.

 

Anyway, just a thought and request.

Cheers

DrTedAstro

Link to comment
Share on other sites

As far as I'm aware there is no way to calculate how much ram each assembly is using.

The closest thing that comes into my mind would be to use the Unity profiler to see how much garbage is being produced. For this to work you would have to compile all the mods yourself in the debug configuration and set Kerbal up to run in debug mode.

Edited by SpaceTiger
Link to comment
Share on other sites

One mod at the time takes too long.. Use a modified version of the binary search.. Take half of the mods out.. if the issue persists.. its in the half existing.. if not in the other half.. and then so on

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