Java memory settings in install guide + minor algorithm change

Merge request reports

Loading