Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.
Auszug
hiddentrue

Nuclos memory image: heap dump, thread dump, jvisualvm, JDK, JMX, OutOfMemoryException, post-mortem, Tomcat.

globe with meridians Language: Deutsch · English

hammer and wrench Creating a memory image of Nuclos

Create heap and thread dumps with jvisualvm – to analyse memory leaks, freezes and for support.

Status
colourPurple
titleHow-to
Status
colourBlue
titleAdministrator
Status
colourGreen
titleUpdated: Jul 2026
Status
colourGrey
titleapplies to Nuclos 4.2026.x

Panel
bgColor#F4F5F7

On this page

Inhalt
maxLevel2
minLevel2

A memory image (heap/thread dump) helps analyse memory leaks, freezes and crashes as well as profiling. It can be created from both the Nuclos client and server.

Info
titlePost-mortem first

A post-mortem image can often still be created even after OutOfMemoryExceptions have been thrown. Always try this before restarting Nuclos.

Warnung
titleConfidentiality

A memory image contains confidential data from your application. Only share it with trusted people and encrypt it for transport if needed.

Prerequisite

You need a JDK (not a JRE!) on the relevant system. If the server runs as a Windows service, the Tomcat JVM must be started with matching JMX parameters (see Tomcat administration). Newer installers allow specifying a JMX port in development mode.

Memory image with jvisualvm

  1. Start bin/jvisualvm (or .exe) from the JDK.
  2. On the left under Applications, right-click the JVM instance – the server appears as Tomcat, the client as Java Web Start.
  3. Create a Thread Dump and a Heap Dump one after another and save each as a file.

jvisualvm: create thread and heap dump.

Hinweis
titleWindows service

If the server runs as a Windows service it is not directly visible here: run it in development mode and connect via right-click on LocalAdd JMX Connection…localhost:<JMX port>.

Related pages

gear Tomcat administration


JMX/Tomcat.

Open →

gear Database


DB.

Open →