Added rules for java

This commit is contained in:
Przemysław Grondek 2020-02-25 14:00:08 +01:00
parent 2112d7e620
commit b95ddaa054
2 changed files with 15 additions and 0 deletions

View File

@ -21,3 +21,14 @@ group chromium {
memory.soft_limit_in_bytes = "768M";
}
}
group java {
cpu {
cpu.shares = "2000";
}
memory {
memory.limit_in_bytes = "512M"
memory.soft_limit_in_bytes = "384M"
}
}

View File

@ -10,3 +10,7 @@
# End of file
pgrondek:/usr/bin/google-chrome cpu,memory chromium
pgrondek:/home/pgrondek/bin/rambox cpu,memory chromium
pgrondek:/home/pgrondek/.sdkman/candidates/java/current/bin/java cpu,memory java
pgrondek:/home/pgrondek/.sdkman/candidates/java/11.0.5.hs-adpt/bin/java cpu,memory java
pgrondek:/home/pgrondek/.sdkman/candidates/java/11.0.6.hs-adpt/bin/java cpu,memory java