Skip to content

Commit

Permalink
changing the order of setting limit_in_bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
aswinashok44 authored and gollux committed Feb 7, 2022
1 parent 121f8b4 commit 795c8ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cg.c
Expand Up @@ -238,8 +238,8 @@ cg_enter(void)

if (cg_memory_limit)
{
cg_write(CG_MEMORY, "memory.limit_in_bytes", "%lld\n", (long long) cg_memory_limit << 10);
cg_write(CG_MEMORY, "?memory.memsw.limit_in_bytes", "%lld\n", (long long) cg_memory_limit << 10);
cg_write(CG_MEMORY, "memory.limit_in_bytes", "%lld\n", (long long) cg_memory_limit << 10);
cg_write(CG_MEMORY, "memory.max_usage_in_bytes", "0\n");
cg_write(CG_MEMORY, "?memory.memsw.max_usage_in_bytes", "0\n");
}
Expand Down

0 comments on commit 795c8ff

Please sign in to comment.