fluffy-mods / ColonyManager

Colony manager for RimWorld
Other
72 stars 38 forks source link

Mid/Late game lag (likely mod interop issues) #111

Closed admiralspark closed 6 years ago

admiralspark commented 6 years ago

Hello,

Noticed a large FPS drop and lag every few seconds when I fired the game up today. Started with the standard disable-mods-until-it-stops tshooting and wasn't getting anywhere, so I fired up ProcMon and did some tracing.

Found that your mod in the background was querying it's DLL in an endless loop several times per second, making up about 90% of all activity from RimWorldWin.exe. Restarting my machine and the game made no difference so it wasn't temporary.

I don't think it's a bug though, as it's run perfectly fine in other games I've done on B18 with different mod lists. Specifically, I'm running Fertile Planet and I suspect that it just isn't handling the massive amount of new vegetation well in the forestry jobs. I did try deleting all of the jobs but it didn't seem to release whatever was looping, either.

I can write python all day but wouldn't know where to start with C#, so I don't think I can help much with a debugger, but I could try stack tracing if that's possible and/or helpful? There were no warnings/errors in the developer console so I suspect the game logs won't have much.

If anyone else can reproduce the bug while having Fertile Planet installed as well, might be worth just marking them as incompatible.

System specs: AMD 8350, 16gb ram, Samsung 850 Evo ssd using the sata6 bus. Single-core process utilization sat around 90% utilization before and after disabling the mod. Disk i/o was nothing.