apache / couchdb-docker

Semi-official Apache CouchDB Docker images
https://github.com/apache/couchdb-docker
Apache License 2.0
263 stars 136 forks source link

ARM64 image uses 1.5GB RAM baseline #242

Closed hifiguitarguy closed 1 year ago

hifiguitarguy commented 1 year ago

Comparing Docker MEM USAGE stats between linux/AMD64 and linux/ARM64:

Empty database created with command: docker run -d --name my-couchdb -e COUCHDB_USER=admin -e COUCHDB_PASSWORD=password couchdb:latest

And then stats viewed via docker stats

Both OS environments are OEL9. Do we expect such a high memory footprint for an empty database? Are there some in-memory caching configurations causing this default allocation? I wouldn't have expected different behavior by CPU however.

avephill commented 9 months ago

This is exactly what's happening to me on my x86_64 machine. It is exactly 1.5GiB no matter what I do. Using couchdb:latest and using the default local.ini and I've tried couchdb:3 and couchdb:2 images as well as fresh installs and i can't figure out what's wrong.