Thread-42 tried to allocate a new byte[1048576] —a one-megabyte buffer for a file upload. The Heap had no contiguous space left. Jera tried a desperate GC. It failed.
To get the most out of JRE: