mantidproject / mantid

Main repository for Mantid code
https://www.mantidproject.org
GNU General Public License v3.0
207 stars 122 forks source link

Harmonise workbench and mantidworkbench entry points #37538

Open thomashampson opened 2 weeks ago

thomashampson commented 2 weeks ago

Is your feature request related to a problem? Please describe. Launching with workbench on Linux systems will bypass the jemalloc configuration setup. Without this, the memory management does not perform well and repeated loading and clearing of large workspaces can cause freezing/crashing as the memory fills up. There are currently two problems:

  1. mantidworkbench is not an entry point on Windows and macOS
  2. the workbench entry point is not optimal on Linux

Describe the solution you'd like On Linux there is a mantidworkbench script that configures jemalloc parameters, and other things. We should really be using that for all Linux launches to take advantage of jemalloc. The ideal solution would be:

  1. both workbench and mantidworkbench are entry points on all OS
  2. jemalloc is configured when launching with either entry point on Linux