Have a Question?
Print

KB – Thread and Heap Dump of BLS Server

How to Perform a Thread and Heap Dump of BLS Server

Sometimes, a bls.log file provides insufficient information about your BLS to solve an issue. In this case, the BASIS Support team may ask you to perform a thread and heap dump.
Here is how to perform a thread and heap dump using a JDK:

Windows:

  1. Locate the bin folder of your JDK. If you are using Eclipse Adoptium JDK, as suggested by BASIS, the default location is:
    \Program Files\Eclipse Adoptium\jdk-(version)-hotspot\bin.
  2. Open the Task Manager and locate the PID (Process ID) of the BASIS License Service.
    This is generally a four-digit number.
  3. Open a Command Prompt as an administrator.
  4. Run the following command in the Command Prompt:

*Replace PID with the number you found in step 2.

  1. Finally, perform a heap dump by running the following command in Command Prompt:
  1. Create a folder containing the bls_thread_dump.txt and bls_dump.hprof files. Zip this file up and send it to BASIS Support!

Linux/Unix:

  1. Run the $ jps command in a terminal. Take note of the number displayed indicating LicenseServerCLI. This is generally a four-digit number. This is your PID.
  2. Run the following command in the terminal:

*Replace PID with the number you found in step 2.

  1. Run the following command in a terminal:

  1. Create a folder containing the bls_thread_dump.txt and bls_dump.hprof files. Zip this file up and send it to BASIS Support!
Table of Contents
Scroll to Top