<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/obtaining-heap-dump-on-outofmemoryerror-with-quarkus-native-k0t3etcon" -->

---
title: Obtaining heap dump on OutOfMemoryError with Quarkus native
description: The post explains how to obtain a heap dump on OutOfMemoryError with Quarkus native using the `-XX:+HeapDumpOnOutOfMemoryError` option. It compares the heap...
canonical: https://daily.dev/posts/obtaining-heap-dump-on-outofmemoryerror-with-quarkus-native-k0t3etcon
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Obtaining heap dump on OutOfMemoryError with Quarkus native | daily.dev
og:description: The post explains how to obtain a heap dump on OutOfMemoryError with Quarkus native using the `-XX:+HeapDumpOnOutOfMemoryError` option. It compares the heap...
og:url: https://daily.dev/posts/obtaining-heap-dump-on-outofmemoryerror-with-quarkus-native-k0t3etcon
og:image: https://api.daily.dev/og/posts/k0t3etCon.png
og:image:alt: Obtaining heap dump on OutOfMemoryError with Quarkus native
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Obtaining heap dump on OutOfMemoryError with Quarkus native

**[Quarkus](https://daily.dev/sources/quarkus)** · 7 min read · 3 upvotes · 0 comments

## Summary

The post explains how to obtain a heap dump on OutOfMemoryError with Quarkus native using the `-XX:+HeapDumpOnOutOfMemoryError` option. It compares the heap dump of a GraalVM Native Image with one produced by HotSpot and discusses the presence of SubstrateVM classes in the heap dump.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://quarkus.io/blog/heapdump-oome-native/>

---

Tags: [#java](https://daily.dev/tags/java), [#quarkus](https://daily.dev/tags/quarkus)

[View this post on daily.dev](https://daily.dev/posts/obtaining-heap-dump-on-outofmemoryerror-with-quarkus-native-k0t3etcon)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Obtaining heap dump on OutOfMemoryError with Quarkus native","url":"https://daily.dev/posts/obtaining-heap-dump-on-outofmemoryerror-with-quarkus-native-k0t3etcon","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/obtaining-heap-dump-on-outofmemoryerror-with-quarkus-native-k0t3etcon"},"datePublished":"2024-04-23T03:12:45.008Z","dateModified":"2024-05-09T09:13:33.132Z","description":"The post explains how to obtain a heap dump on OutOfMemoryError with Quarkus native using the `-XX:+HeapDumpOnOutOfMemoryError` option. It compares the heap...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/e7ab97eced21a845aaca4e155a5e5171?_a=AQAEufR","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/e7ab97eced21a845aaca4e155a5e5171?_a=AQAEufR","isAccessibleForFree":true,"articleSection":"Quarkus","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Quarkus","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/8adf82d719bb4a9492f44a28a27fd396","url":"https://daily.dev/sources/quarkus"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/obtaining-heap-dump-on-outofmemoryerror-with-quarkus-native-k0t3etcon","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"java,quarkus","timeRequired":"PT7M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Quarkus","item":"https://daily.dev/sources/quarkus"},{"@type":"ListItem","position":3,"name":"Obtaining heap dump on OutOfMemoryError with Quarkus native"}]}
```

