commit | cc29e558886fdf072f26a798dc4684d59e95fdb6 | [log] [tgz] |
---|---|---|
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | Fri Jan 22 14:47:29 2021 +0100 |
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | Fri Jan 22 15:03:27 2021 +0100 |
tree | 9711ba805007d4162d10a8138581f02c8e4cbf56 | |
parent | 0c0a461307c6cd4a9675d3d4305ce17f013dcec6 [diff] |
Turn on JEP 346 (Promptly Return Unused Committed Memory from G1). This tunes G1 so it performs a full GC and releases the memory reclaimed back to the OS once every 5 minutes. See: https://openjdk.java.net/jeps/346 Before: NAME CPU(cores) MEMORY(bytes) mulkcms2-857469cf-p9rvx 1m 428Mi After: NAME CPU(cores) MEMORY(bytes) mulkcms2-74d8c8f69-wvfz8 3m 337Mi Change-Id: I2f6272ad83665f9ee0810c435d0511fd8807697d