Drop heap dump and exit on OutOfMemoryError (#3896)
Drop heap dump and exit on OutOfMemoryError (#3896)

Motivation:

It'd be nice if our build drops heap dump when OOME occurs.

Modifications:

- Added JVM flags that drops heap dump on OOME and exits the JVM
  to all test tasks.

Result:

- Devs get more clue when OOME occurs during tests.
kojilin/armeria,kojilin/armeria,trustin/armeria,line/armeria,minwoox/armeria,trustin/armeria,line/armeria,line/armeria,trustin/armeria,line/armeria,line/armeria,kojilin/armeria,kojilin/armeria,kojilin/armeria,line/armeria,trustin/armeria,minwoox/armeria,kojilin/armeria,minwoox/armeria,trustin/armeria,minwoox/armeria,trustin/armeria,minwoox/armeria,minwoox/armeria