The memory limit is set through cgroup.
You can change this through lxc-cgroup -n [Container]
memory.limit_in_bytes = XG
Or echo into the /sys/fs/cgroup/lxc/[Container] memory.limit_in_bytes
(and change this in container config: lxc.cgroup.memory.limit_in_bytes = XG)
Regards,
Andreas
Am 21.03.2014 10:28, schrieb Mingjiang Shi:
Hi there,
My application in the container is running out of memory. How to set
the resource such as memory limits to a container so that it gets more
memory? I googled a lot but didn't find straightforward tutorials.
Thanks!
--
Thanks
-Mingjiang
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users