StefanReder / WINMOL_Analyzer

https://stefanreder.github.io/WINMOL_Analyzer/
GNU General Public License v3.0
0 stars 0 forks source link

Swap Space Raise Error #37

Closed Momen-Mawad closed 5 months ago

Momen-Mawad commented 5 months ago

This PR adds an exception for when running the main process with not enough swap space.

Related issue: #34

Momen-Mawad commented 5 months ago

PR is ready.

It is very challenging to catch out of memory error. Because the moment QGIS runs out of resources, it will die and won't reach the code responsible to catch the out of memory code of line.

The code of line was added for in case when the process returns a killed signal. And also, the plugin will calculate current swap space available and will advise the user with the amount of swap data recommended being set.

@ahennr @StefanReder feel free to review

Momen-Mawad commented 5 months ago

MR merged