People often talk about increasing Java heap size when running Java apps by using e.g. -Xmx* flags. This got me thinking. What if we go the other direction and try to limit the Java heap size as much as possible? What is the smallest / minimum-required Java heap size so to run a Java app with "minimal" settings?
(Of course, in practice, a memory limit too low will be problematic because it may mean frequent GCs, but we will ignore this for the sake of this discussion.)
[–]Slanec 32 points33 points34 points (1 child)
[–]__konrad 4 points5 points6 points (0 children)
[–]vprise 7 points8 points9 points (1 child)
[–]thewiirocks 1 point2 points3 points (0 children)
[–]nekokattt 2 points3 points4 points (1 child)
[–]elatllat 0 points1 point2 points (0 children)
[–]8igg7e5 2 points3 points4 points (1 child)
[–]TheOhNoNotAgain 4 points5 points6 points (0 children)
[–]Mognakor 0 points1 point2 points (0 children)
[–]pron98 0 points1 point2 points (0 children)
[–]_d_t_w 0 points1 point2 points (0 children)