SNAP Desktop crashes when copying pixel data to clipboard

SNAP crashes on my laptop when these actions are performed:

  • Remove directory ~/.snap so that environment is pristine
  • Open file S1A_IW_SLC__1SDV_20200102T051926_20200102T051953_030617_038202_94A1.zip (actually any file I tried has the same problem, this is just one of them)
  • Open a random band
  • Click on a random pixel and select “Copy pixel info to clipboard”

SNAP user interfaces freezes and after some time those lines are written in the shell

java.lang.OutOfMemoryError: GC overhead limit exceeded
Dumping heap to /home/giovanni/.snap/system/var/log/heapdump.hprof ...
Heap dump file created [4452967411 bytes in 37,648 secs]

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "AWT-EventQueue-0"

Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "AWT-EventQueue-1"

I am attaching the file .snap/system/var/log/messages.log: messages.log (65.4 KB).

My environment is a VirtualBox virtual machine with 16 GB of RAM and Debian unstable installed. SNAP itself runs in a chroot environment with Debian stretch installed (the chroot is required because recent Debian versions do not have some libraries required by some SNAP operators). When SNAP freezes there is still plenty of RAM available (SNAP uses roughly 6 GB, 2 GB used by other programs and OS and 8 GB still available).

Any help would be greatly welcome! :slight_smile:

Thanks, Giovanni.

Hi What’s your SNAP version?

The last one, 7.0.0, downloaded from the official distribution website.

I haven’t worked with the Linux system. But I have no problem with Windows.