<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body dir="auto">
<div dir="ltr"></div>
<div dir="ltr"><br>
</div>
<div dir="ltr"><br>
<blockquote type="cite">On 10 Apr 2025, at 22:18, Man Cao <manc@google.com> wrote:<br>
<br>
</blockquote>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>One example is a customized container environment that requires non-standard approaches to read container memory usage and container memory limit, i.e., the application cannot use standard cgroup's <span style="color:rgb(0,0,0)">memory.memsw.usage_in_bytes, </span><span style="color:rgb(0,0,0)">memory.memsw.max_usage_in_bytes
control files. </span><font color="#000000">Instead, the </font>customized container could provide its own library for the application to get container usage and limit.</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
<div>If the custom container app allocates 300 GB native memory with, for example, panama APIs or JNI, what will happen? Is it allowed, or limited?</div>
<div><br>
</div>
<div>/Erik</div>
</body>
</html>