Can't get pycharm to work with commoroad

i tried installing all packages on pycharm but i get the error : PackagesNotFoundError: “The dollowing packages are not available form current channels” für commonroad-io[version=’>=2020.3’

1 Like

Hi hong,
did you install commonroad-io via conda or pip? It should be easily installed with one pip command as in here.

Thanks i somehow fixed it but now im running into the problem that my memory runs out when i run the programm cann i somehow change the settings of the vm ?
I get OSError: [Errno 12] Cannot allocate memory

1 Like

See this in case you are running in docker. If with VM, right-click on the image > Settings> System > Mother Board Tab > Base Memory.

i already tried but it is greyed out

is your VM running? it can only be adjusted after you shut down the VM.

yes, i shut it down.

https://forums.virtualbox.org/viewtopic.php?f=7&t=82135

I have the same problem. Assigned 8 GB to the VM and when running all scenarios RAM+Swap get filled completely starting roughly at scenario 58-63. Is this intended? Is the system still working in that case or will it guarantee a timeout?

1 Like

Hi Saunus,
I just tried now with the given VM image and default settings. Although the memory usage was not optimal, I could run through the scenarios with the tutorial batch processing notebook and produce 324 solutions with astar planner.
Could you tell me which OS you are using? I will try looking into the cause of it. Before that here’s few things you can try out:

  1. use the sequential batch processing and see if it helps.
  2. reduce the depth of tree search
  3. try using the docker image