Skip to content

Unbounded in-memory data growth causes OOM on long-running servers #1319

@Manik-Khajuria-5

Description

@Manik-Khajuria-5

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)).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions