Hacker News new | past | comments | ask | show | jobs | submit | zaphar's favorites login

java9/hotspot has -XX:+UseCGroupMemoryLimitForHeap to deal with the memory part and I think the method to get the number of CPUs also takes cgroups/taskset into account now.

Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: