Table of contents

# Choosing the options controlling memory modes

The dialog below will help you choose the values to use for the two options controlling memory modes:

- `--memoryMode`
- `--memoryBacking`

These options are described in more detail here.

What system are you using?

Memory modes are not supported on MacOS. Do not use options `--memoryMode` and `--memoryBacking`.

Is this a large run for which performance is important?

Do you want to do postprocessing using the Python API or the http server?

Use options `--memoryMode anonymous --memoryBacking 4K`.

Use options `--memoryMode filesystem --memoryBacking disk`.

Do you have root access via `sudo`?

Use options `--memoryMode filesystem --memoryBacking 2M`. When done using the data in memory, clean them up using `shasta --command cleanupBinaryData`.

Can you tolerate a 30% slowdonw?

Get root privilege via `sudo`, then go through this dialog again.

Do you want to do postprocessing using the Python API or the http server?

Use options `--memoryMode anonymous --memoryBacking 4K`.

Table of contents