Bug Description
Several server-side data structures in visdom grow without bounds during normal usage.
On long-running servers, memory usage continuously increases until the process is eventually terminated by the OS due to Out-Of-Memory (OOM).
Reproduction Steps
Run a long training session with frequent images/logs/embedding updates.
RAM usage continuously increases until the server is killed.
Expected behavior
Memory usage should remain bounded.
Suggested Fix
Add caps/history limits and use bounded queues (deque(maxlen=N)).
Bug Description
Several server-side data structures in visdom grow without bounds during normal usage.
On long-running servers, memory usage continuously increases until the process is eventually terminated by the OS due to Out-Of-Memory (OOM).
Reproduction Steps
Run a long training session with frequent images/logs/embedding updates.
RAM usage continuously increases until the server is killed.
Expected behavior
Memory usage should remain bounded.
Suggested Fix
Add caps/history limits and use bounded queues (deque(maxlen=N)).