Skip to content

[Bug]: Memory Leak on Docker Deployment #162

@nerdc0re-net

Description

@nerdc0re-net

Description

Since i have Bulwark deployed via docker-compose.yaml on my Dockhand infrastrucutre I am able to observe that Bulwark has some kind of memory leak. I would not expect a webmail client to eat up endless memory up to 2 GB just for the container (or even more depending on the host machines max memory).

I have to mention that I do not limit resources on my containers if not necessary, so there is probably some way to circumvent this issue via that route, but I think this shouldn't be the expected behaviour nonetheless.

Steps to Reproduce

  1. start Bulwark container
  2. watch memory usage constantly rise on the host machine

Expected Behavior

no endless memory consumption for a simple webmail client.

Actual Behavior

memory leak.

Bulwark Version

1.4.11

Stalwart Mail Server Version

0.15

Browser

Chrome / Chromium

Operating System

Linux

Screenshots / Screen Recording

Image

Relevant Logs or Error Output

Additional Context

I added the memory usage of my host machine, every time the ramp is rising again it's because I restarted the container, last flat-line was a longer duration shutdown before starting Bulwark again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions