2 ms·
>You don't want to swap! A good rule of thumb is to make your max heap (-Xmx) about 60% of total RAM if you only have 1 JVM running i'd prepend the advise with
by VladRussian 15y ago
>You don't want to swap! A good rule of thumb is to make your max heap (-Xmx) about 60% of total RAM if you only have 1 JVM running
i'd prepend the advise with "use large pages, Luke". Set Xmx to almost 100% of large pages, while the total of large pages set to 60% of the total RAM in your case or whatever your application specific is. For non-filesystem-IO application (middleware between DB and client applications) in my case the 14G on 16G machine works fine.
- wolf550e 15y agoHave you tried transparent hugepages in the newer kernel?
- VladRussian 15y agonope. Enterprise software, not on the bleeding edge.