Project

General

Profile

Bug #23687

VAB Duplicate Part Memory Leak

Added by fwyrl 25 days ago. Updated 24 days ago.

Status:
Confirmed
Priority:
Low
Assignee:
-
Category:
Application
Target version:
-
Start date:
09/22/2019
% Done:

10%

Version:
Platform:
Windows
Expansion:
Core Game, Making History
Language:
English (US)
Votes:
Arrow u r green
Arrow d r red

Description

Using the VAB as regular to edit large craft results in a large memory leak, requiring a full restart of the game every 30 minutes or so if I'm working quickly. I believe I've tracked down at least part of the issue to the part duplication function.

Replication:
  1. Build a large craft
  2. Use the mod+left click key to duplicate most of it
  3. Throw it in the part pane (delete it)
  4. Do this a few more times, and the RAM usage will skyrocket
Notes:
  • The Private Memory values listed here were obtained via Process Hacker 2, as the Windows Task Manager's RAM reporting is frequently incomplete.
  • This is not cleared by simply exiting to the main menu. A full closure of the game is required to fix this.
  • On Game Launch, I'm using 2.92 GB private memory for KSP.
  • I did not test this with the Spaceplane Hanger.
  • The ingame memory reading under "performance" in the debug console does not show these RAM changes nearly as bad as they are (Private memory went from 2.97 GB to 4.59 GB, and ingame reserved went from 1246 mb to 1440 mb (both taken in the main menu, with the second one being after I preformed the glitch and left for the main menu)
  • Simply entering a save and returning from it increases Private Bytes to 3.26 GB in the main menu (again, does not effect the ingame memory reporting, and does not stack, fortunately).

Workaround:
None found.

OS: Windows 10, version 1809
RAM: 16 GB, x64
CPU: AMD Ryzen 5 2400G (Radeon Vega Graphics)

History

#1 Updated by k-ohara5a5a@oco.net 24 days ago

  • File confirm20740.craft added
  • Status changed from New to Confirmed
  • % Done changed from 0 to 10

#2 Updated by k-ohara5a5a@oco.net 24 days ago

  • File deleted (confirm20740.craft)

Also available in: Atom PDF