View Issue Details

IDProjectCategoryView StatusLast Update
0000069Falcon BMS Known BugsPerformancepublic2021-05-05 05:05
Reportermrkline Assigned ToI-Hawk  
PrioritynormalSeveritycrashReproducibilityalways
Status assignedResolutionopen 
PlatformPCOSWindowsOS VersionWindows 10
Product VersionBMS 4.35 
Summary0000069: Rapid memory leak leads to game crash when minimized over RDP
DescriptionWhen running BMS 4.35 over Remote Desktop (which we use to manage our host machine for 25+ player events), minimizing the BMS window in the RDP session (or minimizing the RDP session itself) results in a [I]rapid[/I] memory leak proportional to the frame rate (~8GB per minute @ 60FPS), eventually crashing the game, and potentially locking up the server. Un-minimizing the BMS window immediately drops memory usage down to normal levels.

If allowed to continue, the final line in the log is
[09:45:52.027] 4940 CRT Memory Depletion:
presumably indicating the C runtime is out of memory and allocations are failing.

When we take a look using Visual Studio's heap analyzer, we can tell that something in the terrain renderer (BPTerrain::ExecuteDrawTerrainJob) creates buffers that don't get freed so long as the window is minimized.
Steps To Reproduce- Run BMS 4.35 in windowed mode over RDP
- Enter 3D
- Minimize the BMS window
- Memory usage will grow until the window is un-minimized

The same problem doesn't seem to happen when minimizing BMS on your own machine.
TagsNo tags attached.
Theatre of OperationsKTO

Activities

mrkline

mrkline

2021-01-23 20:02

reporter  

leak.png (1,383,602 bytes)
mav-jp

mav-jp

2021-01-27 06:13

manager   ~0000191

we have been unable to reproduce your problem
Blu3wolf

Blu3wolf

2021-05-05 02:49

manager   ~0000549

@I-Hawk, were you able to reproduce this issue? @mrkline, are you still having this issue?
I-Hawk

I-Hawk

2021-05-05 05:05

manager   ~0000550

@Blu3wolf, AFAIK there were tries to reproduce this issue locally but without success.

Issue History

Date Modified Username Field Change
2021-01-23 20:02 mrkline New Issue
2021-01-23 20:02 mrkline File Added: leak.png
2021-01-27 06:13 mav-jp Note Added: 0000191
2021-02-16 14:26 I-Hawk Assigned To => I-Hawk
2021-02-16 14:26 I-Hawk Status new => assigned
2021-05-05 02:49 Blu3wolf Note Added: 0000549
2021-05-05 05:05 I-Hawk Note Added: 0000550