Replies: 1 comment
-
Probably not: https://fabiokung.com/2014/03/13/memory-inside-linux-containers/ Contributions are welcome! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am running a java 17 application which is using org.bytedeco.javacpp.Pointer v1.5.8 inside a LXC container.
I set cgroup 1 memory rule as around 2GB:
lxc.cgroup.memory.limit_in_bytes = 214748364
Below calculation returns the correct memory, JVM respects the cgroup rule:
For some reason
Pointer.availablePhysicalBytes()
returns 9889411072 -- 9.21 GBWhy? I think i am missing something.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions