1

How to Generate Process and Thread Dump Files for Analyzing High Memory Usage of Pyramid Serivces

Pyramid services are based on Java and require the server resources (mostly RAM and CPU usage) to be available for better performances.

To prevent services from over-consuming the resources, Pyramid has a setting that limits the amount of memory that each service can consume.

In some cases, Pyramid Support might request memory and thread dumps to analyze the performances of the services in addition to the Pyramid System/Transaction logs and the windows event server logs.

If the services with high memory are the Runtime/Task engines or the Router, we will need to analyze the Java Process and Thread dumps:

Thread dump of Open JDK Service:

To generate a thread dump, you will need to open the task manager and add the 'Command-Line' column.
There you can determine which service is consuming the memory and whether it's exceeding the limit:

  

After you've located the required service, open the command line with administrative rights, and run the following command:

"C:\Program Files\Pyramid\Java\Bin\jcmd" 25528 Thread.print > C:\Temp\ThreadDump_RTR.txt

*Replace 25528 with the PID of the java process with high memory usage
**Please note that the path to the jcmd may be slightly different depending on your environment, so just change the path as needed by looking at the folder structure.

Then send us the "ThreadDump_RTR.txt" file created on the c drive us.

Process dump of Open JDK Service:

For the same service, run this command:

"C:\Program Files\Pyramid\java\bin\jcmd" 25528 GC.heap_dump c:\heapDump.hprof

*Replace 25528with the PID of the java process with high memory usage
**Please note that the path to the jcmd may be slightly different depending on your environment, so just change the path as needed by looking at the folder structure.

Then send us the "heapDump" file created on the c drive to us.

If the service that consumes the high memory is the DNC, you will need to do the following:

Memory Dump for Windows Service:

right-click on the DNC/Pyramid Windows Connector and choose "create dump file"
Open the file location and attach send the dump file to us.

 

Reply Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
Like1 Follow
  • 1 Likes
  • 11 mths agoLast active
  • 25Views
  • 1 Following