Jump to content

Memory leak


Recommended Posts

Download link for output log, saved games and craft files.

Didn't experienced such heavy memory leak for a while. Playing with this mods for a month, usually game is stable enough for one hour or two, but this time crash in less than 2-3 minutes. As you can see on pictures(memory usage shown on left side), memory usage increase every few seconds until game crash. There is persistent save game and quicksave with plane in flight that need to land near contract spot.

 

Spoiler section contains list of installed mods. On top of that is also latest FAR development release from github. Output log file didn't gave me a clue for possible reasons behind CTD. Does someone have idea what can be reason behind this, so I can avoid it somehow ?

Spoiler

Adjustable Landing Gear (AdjustableLandingGear v1.2.0)
B9 Aerospace Pack (B9 R5.4.0)
B9 Aerospace Pack (B9-props R5.4.0)
B9 Aerospace Procedural Parts - Fork (B9-PWings-Fork 2.1)
B9 Animation Modules (B9AnimationModules v1.0.0)
BahamutoD Animation Modules (BDAnimationModules v0.6.2)
CapCom - Mission Control On The Go (CapCom 1.4)
Community Resource Pack (CommunityResourcePack 0.4.8.0)
Community Tech Tree (CommunityTechTree 2.3)
Contract Configurator (ContractConfigurator 1.9.3.1)
Contract Pack: Bases and Stations (ContractConfigurator-KerbinSpaceStation 1:3.1)
Contract Pack: Field Research (ContractConfigurator-FieldResearch 1.1.4)
Contract Pack: Giving Aircraft a Purpose (GAP) (GAP 1.0.2.1)
Contract Pack: Tourism Plus (ContractConfigurator-Tourism 1.3.0)
Contract Window + (ContractsWindowPlus 5.5)
Crossfeed Enabler (CrossFeedEnabler v3.3)
Crowd Sourced Science (CrowdSourcedScience v3.0.2)
Custom Barn Kit (CustomBarnKit 1.1.3.0)
DMagic Orbital Science (DMagicOrbitalScience 1.1)
Docking Port Alignment Indicator (DockingPortAlignmentIndicator 6.2)
EVAManager (EVAManager 6)
Final Frontier (FinalFrontier 0.9.8-1882)
Firespitter Core (FirespitterCore v7.1.5)
Firespitter Resources config (FirespitterResourcesConfig v7.1.5)
Graphic Memory Monitor (GCMonitor 1.3.0.0)
HyperEdit (HyperEdit 1.4.2.0)
Kerbal Aircraft Expansion (KAX) (KerbalAircraftExpansion 1:KAX_v2.6.1.0)
Kerbal Alarm Clock (KerbalAlarmClock v3.5.0.0)
Kerbal Attachment System (KAS 0.5.5)
Kerbal Flight Data (KerbalFlightData R19)
Kerbal Inventory System (KIS 1.2.3)
Kerbal Joint Reinforcement (KerbalJointReinforcement v3.1.4)
Klockheed Martian General Plugin Functions - Gimbal module (KlockheedMartian-Gimbal 3.0.6.0)
kOS: Scriptable Autopilot System (kOS 0.18.2)
KSP AVC (KSP-AVC 1.1.5.0)
LightsOut (LightsOut v0.1.5)
Magic Smoke Industries Infernal Robotics (InfernalRobotics v0.21.4)
MechJeb 2 (MechJeb2 2.5.5.0)
MechJeb and Engineer for all! (MechJebForAll 1.2.0.0)
MechJeb Modules for FAR (MechJebFARExt 1.0.0)
Menu Stabilizer (MenuStabilizer 1)
ModularFlightIntegrator (ModularFlightIntegrator 1.1.2.0)
Module Manager (ModuleManager 2.6.17)
OSE Workshop (Workshop 0.12.1)
Precise Node (PreciseNode 1.2.1)
QuickScroll (QuickScroll v1.32)
QuickSearch (QuickSearch v1.14)
RasterPropMonitor (RasterPropMonitor v0.24.2.1)
RasterPropMonitor Core (RasterPropMonitor-Core v0.24.2.1)
RCS Build Aid (RCSBuildAid 0.7.6)
SCANsat (SCANsat v14.7)
Sequencer for Infernal Robotics (InfernalRobotics-Sequencer 0.6)
SETI-BalanceMod (SETI-BalanceMod 0.9.5.2)
SETI-CommunityTechTree (SETI-CommunityTechTree 0.9.5.1)
SETI-Contracts (SETI-Contracts 0.9.4)
SETI-Greenhouse (SETI-Greenhouse 0.9.3)
Ship Manifest (ShipManifest 4.4.2.0)
SmokeScreen - Extended FX Plugin (SmokeScreen 2.6.10.0)
StageRecovery (StageRecovery 1.6.2)
Stock Bug Fix Modules & StockPlus (StockBugFixPlus v1.0.5a.3)
Take Command (TakeCommand 1.3)
Throttle Controlled Avionics - Continued (ThrottleControlledAvionics 2.3.0.2)
ToadicusTools (ToadicusTools 17)
Toolbar (Toolbar 1.7.10)
Transfer Window Planner (TransferWindowPlanner v1.4.0.0)
TweakableEverything (TweakableEverything 1.14)
TweakScale - Rescale Everything! (TweakScale v2.2.6)
USI Core (USI-Core 0.1.2.0)
USI Kolonization Systems (MKS/OKS) (UKS 1:0.31.12.0)
USI Life Support (USI-LS 0.2.1.0)
USI Tools (USITools 0.5.4.0)
Waypoint Manager (WaypointManager 2.4.4)

EDIT:

Nevermind. Figured out. It was terrain detail set to max. Too many trees comes to vison range. Each time some tree become visible it consume small chunk of memory. It would not be much of issue if trees that goes outside of vision range release used memory. That never happens and RAM is filled up too quick in some areas of planets.

I have set terrain detail to low and same save game is playable again without memory leak.

Edited by kcs123
found reason for bug
Link to comment
Share on other sites

Have you tried this stock to establish it is not a mod interaction?

Have you tried this on other planets to see if it is scatters in general that cause this or just the tree?

If so, you should report it on the bug tracker. The more memory leaks that can get plugged the better.

 

Well caught.

Link to comment
Share on other sites

No, I didn't tried with stock only game, I need at least MM and graphic memory monitor to be able to detect memory leak. I didn't tried on other planet, for that I should also need hyper edit or similar mod at least to get there, as my career game is still early.

However, I'm sure that is trees causing memory leak. I have landed that craft showed on galery trough repeated quicksaves in landing sequence, just before game CTD.

Once craft is landed, there is no memory increasing. But when I rotate view around craft and trees trough scene rotation comes in field of view, memory increases more and more until CTD. After that I have reduced terrain detail and tried the same thing on the same land spot.

With low terrain detail it is hard to notice increase in memory usage due to low density of trees, but memory is still increased over time, just with much smaller chunks.

Don't know if SQUAD have interest to investigate this, they have switched to Unity 5 game engine, so same issue might be already solved.
But it is something worth to test prior 1.1. release, to be sure that old bug is not sliped in somehow.

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