Skip to content

Commit

Permalink
Minor edits and remove `` in title
Browse files Browse the repository at this point in the history
  • Loading branch information
galderz committed Apr 15, 2024
1 parent e2aa001 commit 06eea45
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions _posts/2024-04-15-heapdump-oome-native.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: post
title: 'Obtaining heap dump on `OutOfMemoryError` in Quarkus native'
title: 'Obtaining heap dump on OutOfMemoryError with Quarkus native'
date: 2024-04-15
tags: native heapdump oome epsilongc jol
synopsis: 'Generating and inspecting heap dumps in Quarkus native when `OutOfMemoryError` errors occur'
Expand All @@ -18,10 +18,11 @@ Once the Quarkus application is running with Epsilon GC,
apply some load and within a short space of time it will run out of memory and produce a heap dump.

Let’s start by producing a heap dump with a Quarkus native executable.
A good starting point would be a Quarkus application that simply responds to an HTTP endpoint request, e.g.
https://github.com/quarkusio/quarkus-quickstarts/tree/main/getting-started-reactive[the getting-started-reactive Quarkus quickstart].
A good starting point would be a Quarkus application that simply responds to an HTTP endpoint request, e.g. the
https://github.com/quarkusio/quarkus-quickstarts/tree/main/getting-started-reactive[getting-started-reactive] Quarkus quickstart.
Once checked out,
build a Quarkus native executable GraalVM for JDK 21 for the application that uses Epsilon GC:
build a Quarkus native executable with GraalVM for JDK 21 configuring Epsilon GC.
For Quarkus native mode, selecting the GC needs to be done at build time:

[source,bash]
----
Expand Down

0 comments on commit 06eea45

Please sign in to comment.