View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000069 | Falcon BMS Known Bugs | Performance | public | 2021-01-23 20:02 | 2021-05-05 05:05 |
| Reporter | mrkline | Assigned To | I-Hawk | ||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | assigned | Resolution | open | ||
| Platform | PC | OS | Windows | OS Version | Windows 10 |
| Product Version | BMS 4.35 | ||||
| Summary | 0000069: Rapid memory leak leads to game crash when minimized over RDP | ||||
| Description | When 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. | ||||
| Tags | No tags attached. | ||||
| Theatre of Operations | KTO | ||||
| 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 |