2 ms·Specify a max heap size and use g1. Java will use memory if it is available.by kaba0 5y agoSpecify a max heap size and use g1. Java will use memory if it is available.