ID:2578532
 
Resolved
Visual contents seen by clients could cause a memory leak on the server.
BYOND Version:513.1525
Operating System:Windows 7 Ultimate 64-bit
Web Browser:Chrome 83.0.4103.97
Applies to:Dream Daemon
Status: Resolved (513.1526)

This issue has been resolved.
Descriptive Problem Summary:
A mob coming into view and leaving view of a turf with a vis_contents will trigger a memory leak on the server that persists after world/Reboot.


Numbered Steps to Reproduce Problem:
1: (compile+)start server and join
2: open task manager
3: press toggle random jumping to make your mob randomly teleport every tick_lag
4: observe memory usage does not increase after the first initial bumps.
5: press toggle vis_contents...
6: observe memory usage SKYROCKET.


Code Snippet (if applicable) to Reproduce Problem:
https://cdn.discordapp.com/attachments/466474987558273045/ 720086108901343322/vis_contents_leak_demo.zip
Lummox JR resolved issue with message:
Visual contents seen by clients could cause a memory leak on the server.