Comment on Help with understanding memory usage discrepancy
irmadlad@lemmy.world 1 day 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 23 hours ago
You can also set these limits in your compose file, if you use compose (which you should).
irmadlad@lemmy.world 23 hours ago
Sure, it’s just easier for me to tweak in Portainer. But, yeah. There are many ways to skin the cat.