Comment on Help with understanding memory usage discrepancy
irmadlad@lemmy.world 3 weeks agoMost of those containers are probably grabbing more memory than they actually need.
It took a bit of trial and error with Portainer, but under Runtime & Resources, you can adjust the amount of needed resources:
- Shared memory size
- Memory reservation (MB)
- Memory limit (MB)
- Maximum CPU usage
Voroxpete@sh.itjust.works 3 weeks ago
You can also set these limits in your compose file, if you use compose (which you should).
irmadlad@lemmy.world 3 weeks ago
Sure, it’s just easier for me to tweak in Portainer. But, yeah. There are many ways to skin the cat.