Bug: Memory limit for app not applied

I installed some apps in ZimaOS and wanted to limit their RAM usage. Therefore I pulled the Memory limit slider to the left:

Bildschirmfoto 2025-02-16 um 14.47.16

But after installation, the slider is at the maximum again. The setting was not applied.

The same happens with importing a compose file containing a memory limit:

    deploy:
      resources:
        limits:
          memory: 4096M

Steps to reproduce

  • Lookup FreshRSS in the CasaOS App store
  • Select custom install
  • Set the Memory limit slider to some lower setting
  • Install the app
  • Open settings of the app

Result: The desired memory limit was not applied

Tested in ZimaOS 1.3.2

Addendum:

Checking with CLI commands docker stats and docker inspect I found out that the limits were actually applied correctly.

So it is an error in the editing dialog. The RAM values are not read correctly when opening the settings.

The memory limit slider is still buggy in 1.4.1

Changes are applied, but every time you manage the app, the real value is not retrieved correctly and the slider is always set to max.

@LinkLeong would you please take a look at this?

1 Like