Skip to content

shared_installation

jasonk000 edited this page Aug 31, 2025 · 1 revision

Shared installation of Memory Analyzer

Sometimes it can be useful to install Eclipse Memory Analyzer in a shared directory so that many people can use it, but ideally with their own settings.

For full reference see: Eclipse multi-user installs

Summary procedure

  1. Unpack Eclipse Memory Analyzer into a location which can be shared

  2. [Optional] Start MAT and set up preferences etc. as required which will be the default configuration

  3. Add the following to MemoryAnalyzer.ini. This stops a root user from running Memory Analyzer and overwriting key files in the shared directories.

-protect root
  1. Add to configuration/config.ini a line such as
osgi.instance.area[email protected]/MemoryAnalyzer

This sets the workspace as the default would be under the Memory Analyzer install directory, so would not be writable. This means the user does not have to specify -data

  1. Make all the Memory Analyzer files and directories publicly readable, but not writable.

  2. The error logs will go to the users homedir (example below). The precise name will differ based on MAT version, architecture, OS etc.

~/.eclipse/org.eclipse.mat_1.13.0_87691952_linux_gtk_x86_64/configuration/1651585377771.log

Clone this wiki locally