Codespace: disk usage
notebooks/Synergistic/BrainWeb.ipynb fails during forward projection due to disk (!) space usage on the 32GB disk machines. The lowest-spec workable Codespace is the 8-core (64 GB disk) machine.
Possible solutions:
- reduce size of data from https://github.com/SyneRBI/SIRF-Exercises/blob/a239c0b397dd85fafc77c27d2b97452b11cb85ec/.devcontainer/devcontainer.json#L16
- write temporary data to
/dev/shm(RAM) instead of disk - document disk usage requirements
As it happens during the forward projection, we could set pet.AcquisitionData.set_storage_scheme("memory"), or whatever the syntax is (@evgueni-ovtchinnikov?), at the top.
set_storage_scheme("memory") works for the first fwd projection, but the second one in the notebook triggers out of memory (on the 8GB RAM machine)...
Should we add set_storage_scheme("memory") to BrainWeb.ipynb and raise the memory requirements here? https://github.com/SyneRBI/SIRF-Exercises/blob/34ab5ab512a1130dc6606c4ef3e57db6f168eca0/.devcontainer/devcontainer.json#L5
Let's consider this later, i.e. after the PiW training. Best not to make changes anymore.