Search the Community
Showing results for tags 'garbage collection'.
-
Hey there, I am running a modded install that according to Memgraph with 10 flights is pounding the heap with 450,000K/second.(not typo, half a gig heap increase per second) I obviously can only run the game in any fashion using the increased heap sizes as the garbage collection runs constantly, but I was wondering if anyone had an idea how to figure out which mod is generating so much extra data. Can someone give me some pointers or places to look? Removing the mods obviously removes my ships so it makes testing much harder. Is there a debug tool that can look per mod? (probably not but thought I would ask) "name": "UbioWeldContinued" "name": "UniversalStorage" "name": "CommunityCategoryKit" "name": "TimeControl" "name": "PatchManager" "name": "TweakScale" "name": "InterstellarFuelSwitch-Core" "name": "CommunityTechTree" "name": "CommunityResourcePack" "name": "KerbalPlanetaryBaseSystems" "name": "ModuleManager" "name": "KSP-AVC" "name": "HeatControl" "name": "KerbalAlarmClock" "name": "REPOSoftTech-Agencies" "name": "ExtraPlanetaryLaunchpads" "name": "Toolbar" "name": "TriggerAu-Flags" "name": "InterstellarFuelSwitch" "name": "MinAmbience" "name": "KSPInterstellarExtended" "name": "HangerExtenderExtended" "name": "FinalFrontier" "name": "HideEmptyTechNodes" "name": "KAS" "name": "ProgressParser" "name": "InfernalRobotics" "name": "KerbalJointReinforcement" "name": "SCANsat" "name": "KIS" "name": "ModularFlightIntegrator" +Memgraph and mechjeb which are not on this list.
- 2 replies
-
- heap
- garbage collection
-
(and 1 more)
Tagged with:
-
Hello devs. I know you spent a lot of time reducing the amount of garbage created, but as of now (1.2.2) I have the weird issue that the garbage collection still is a problem. It starts out like before but gets worse the longer the game runs. I've tried it modded and unmodded, only a slight difference. That being said, I have a lot of completed and running missions going on but the interesting part is the increasing part. After 2-3 hours its so bad that I have a stutter for ~2s every ~5s. If I restart the game it returns to "normal" (0.5s every 10 s). Is there anything I can do? Can I increase the heap maybe? I have 16 gigs of ram I would have no problem if KSP took like 8 so i can play more fluently.
-
I just downloaded 1.1.1 and tried it out and noticed that the GC stuttering got significantly worse, it now occurs almost twice as often for me. I went and removed all mods (just had only environmental mods like chatterer, scatterer, eve and planetshine) just to make sure it wasn't incompatibility-related, even removed GCMonitor but it didn't get significantly better. Actually, the game has now officially entered the unplayable state for me. In 1.1 it was really, really annoying but it's unbearable in 1.1.1. I can't understand how this can't be addressed with high priority, there are so many people that are affected by this bug and it has been reported multiple times. Seriously, I can avoid destroying my buildings with wheels by just NOT CRASHING INTO THEM but I just cant do anything about this constant stuttering. So please @SQUAD , either pressure Unity to make their garbage collection more adjustible or write your code so it doesn't trigger the GC that frequently (aka create less garbage). There is enough info on how to handle the Unity GC: https://www.pluralsight.com/blog/software-development/unity-tips-and-tricks http://stackoverflow.com/questions/17481863/unity3d-optimize-garbage-collection http://www.gamasutra.com/blogs/MeganHughes/20150727/249375/Unity_Garbage_Collection_Tips_and_Tricks.php I really, really can't understand why you don't adress this issue with the highest possible priority. The game is broken for me right now. I know I have it more frequent than most people but I noticed this very problem in countless KSP youtube videos. I made one on my own to point it out: http://www.youtube.com/watch?v=nq0Z2Up1_Uw Examples (just so you know I'm not making things up): Matt Lowne (0:49, watch the opening doors hang): Also found this in bug in Scott Manley's videos and others. I can provide more video evidence, but I think everyone knows this exists by now and I think it's time to put this on top of the TODO-list. I literally CAN'T play KSP anymore at the current state. A ~0.3 second flickering every 5 seconds makes the game more annoying than fun for me. Here one more screen shot with GC-Monitor up: Please @SQUAD, fix this. You did such an amazing job in the past, don't leave me hanging after nearly 6 years I've been with you and your project.
- 51 replies
-
- garbage collection
- stuttering
-
(and 1 more)
Tagged with: