Out of memory exception in the Trace view on Linux

Describe the bug

Reported by @jmellorcrummey : This happens on Linux (works fine on Mac) that the trace view throws a Java out of memory exception.

To Reproduce

  1. Open database from GAMESS with 170 ranks
  2. Open the trace view

Screenshots

hpcviewer  hpctoolkit-gamess-22n-test.d/
Java version 11
Redirect standard error to /home/johnmc/.hpctoolkit/hpcviewer/x86_64/hpcviewer.err
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 2097152 bytes for AllocateHeap
# An error report file with more information is saved as:
# /home/johnmc/total/examples/gamess/6.scale/hs_err_pid2257796.log
JVM terminated. Exit code=1
/projects/pkgs/jdk-11.0.17+8/bin/java
-Xmx2048m
-Dosgi.locking=none
-jar /projects/pkgs/hpcviewer-2023.03/libexec/hpcviewer//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar
-os linux
-ws gtk
-arch x86_64
-showsplash
-launcher /projects/pkgs/hpcviewer-2023.03/libexec/hpcviewer/hpcviewer
-name Hpcviewer
--launcher.library /projects/pkgs/hpcviewer-2023.03/libexec/hpcviewer//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.600.v20220720-1916/eclipse_11701.so
-startup /projects/pkgs/hpcviewer-2023.03/libexec/hpcviewer//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar
--launcher.overrideVmargs
-exitdata 20a8011
-clearPersistedState
-data /home/johnmc/.hpctoolkit/hpcviewer/x86_64
-configuration /home/johnmc/.hpctoolkit/hpcviewer/x86_64 hpctoolkit-gamess-22n-test.d/
-vm /projects/pkgs/jdk-11.0.17+8/bin/java
-vmargs
-Xmx2048m
-Dosgi.locking=none
-jar /projects/pkgs/hpcviewer-2023.03/libexec/hpcviewer//plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar

Platform (please complete the following information):

  • OS: Linux