Skip to content

Add the HeapDumpGzipLevel JVM option to compress heap dumps created by HeapDumpOnOutOfMemoryError #102465

Open
@ldematte

Description

@ldematte

Description

Today we specify -XX:+HeapDumpOnOutOfMemoryError to instruct the JVM to produce a heap dump before exiting in case of OOME. The heap dump is non-compressed; in order to save space on disk, we can specify this parameter to compress it, e.g. -XX:HeapDumpGzipLevel=9
Note: this will happend .gz to the dump filename, we need to make sure this is not an issue.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions