Skip to content
This repository was archived by the owner on Jan 28, 2025. It is now read-only.
This repository was archived by the owner on Jan 28, 2025. It is now read-only.

bdcs-api-server is probably leaking memory #68

@atodorov

Description

@atodorov

It looks like the API server may be leaking memory.

Steps to reproduce:

  1. Start the API container, make a note of the amount of used memory
  2. Start welder-web and run the e2e test suite against the Haskell backend. I repeat this a few times while I'm working on the e2e test suite.

After a few executions (around 3 usually) I notice that the API server is taking a lot more memory than it used to:

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                               
30432 root      20   0  1,011t 4,427g   9928 S   0,3 58,7   5:58.92 bdcs-api-server  

This is on a system with 8GB RAM (using 55% according to top). After all the tests are done the memory usage stays pretty much the same.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions