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
1 file changed