In case someone else runs out of memory while running the commonroad notebooks:
I wrote a script that starts and kills the docker container in case memory is low.
Hi,
I run the notebook on my own Ubuntu environment instead of in a docker, how to solve this memory problem?
By the way, my physical memory is 7.7G. Is it too small to solve a search problem? Or I just need o change the algorithm if I met a memory problem with 7.7G memory.
You could just switch to docker. It depends on the scenario and your algorithm how much memory is required, 7.7 GB should be enough for most scenarios.
Isn’t there a " --memory= flag, if you start a docker container from a cli?
Yes there is, but it doesn’t work with all docker setups, e.g. I believe it doesn’t work with rootless docker.