dekoning-lab / WFES2-GUI

GUI implementation of wfes2.
GNU General Public License v3.0
0 stars 1 forks source link

Out of memory for big matrices #63

Closed AlbertoCasasOrtiz closed 2 years ago

AlbertoCasasOrtiz commented 3 years ago

For big matrices, the system gets out of RAM and the application crashes without printing any error.

Tried to capture the exception without success.

Switched to Pardiso OOC, looks like performs better and sometimes it captures the exception.

AlbertoCasasOrtiz commented 3 years ago

After looking for a solution, looks like it depends on the SO and Intel MKL.

Solving a big matrix (60000x60000) consumes too much memory. There are two cases here:

  1. Sometimes, after analysing the matrix, Intel MKL returns an error that can be captured.

  2. If during analysis or factorisation it reaches a critically low amount of memory, the SO kills the application, and this cannot be captured.

This can be confirmed by consulting the Linux Kernel Log, using dmesg:

dmesg | grep "Out"
Out of memory: Killed process 3701 (wfes-ui)

I am capturing the first case, but the second case may cannot be captured.

Tried: