I was facing an OutOfMemoryError when unzipping a file on SAP Cloud Integration (CI or the “old” CPI Cloud Platform Integration)…

The stack trace at the ljs trace was the following:

Decompiled the .jar file and found out that the error itself occurs when the trace is enabled and not at the actual process…

Remember to disable your traces !
Curious huh?