Closed AudioEngineer99 closed 6 months ago
You can try to adapt the ram_safety_factor
- this might help if you are missing only a tiny bit of RAM but won't get you far in most cases, I fear. To look for problems in advance, you can run numcalc --estimate_ram
in all projects and check how much memory is required (multiplied with ram_safety_factor
). This will give you a list of projects you can not run. The only real help with those cases is getting more RAM. A solution that would trade of accuracy for feasability is to apply a stronger mesh-grading, i.e., to use longer edge lengths in your mesh.
Ok, thank you. I already have 128 GB of RAM, which numcalc
fully utilizes, using all 24 CPU cores. So, I can run a single project rather quickly without problems. My problem is mainly that I cannot process several projects sequentially, since the simulation is interrupted by the above error, whenever it "jumps" to a new project. It seems that a new project is started and since the RAM might still be occupied by the previous project, it just stops, raising the above error.
Could it help to increase the wait_time
parameter maybe?
Are you using the latest version from https://github.com/Any2HRTF/Mesh2HRTF/tree/master/mesh2hrtf/NumCalc
? If I remember correctly, we also discovered this problem and hopefully fixed it. Did not fully understnad it in your first description...
I think, I am not using the most recent version then. I will try that. Thank you.
Have there been changes to the actual solver from v1.0.0 to v1.1.1?
In other words, are there differences to be expected in the final HRTFs between v1.0.0 and v1.1.1 of Mesh2HRTF? I am conducting a study and I am hesitant in changing the mesh2hrtf version on the way.
No, there weren't any changes in the NumCalc kernel. Blender files are now saved compressed, which might decrease the size of your projects without loosing any information:
https://github.com/Any2HRTF/Mesh2HRTF/blob/master/HISTORY.rst
Hello,
I have the following problem:
I am running the
manage_numcalc_script.py
from mymesh2hrtf-tool-code
folder, where all my project folders are also located. Everything runs smoothly on the first project. However, sometimes when a new project is started, I get the following error:So, I am running into this (line 275 of manage_numcalc.py)
The problem can easily be fixed by just restarting manage_numcalc_script.py. Still, it remains a huge problem for me, since I have a lot of projects to run, which I usually do over night. And if the simulation just stops after one project, I am loosing a lot of time. I can also not supervise it 24/7 and restart it, whenever this happens.
Does anyone have an idea for a quick fix? I thought about adapting the input parameters of
manage_numcalc_script.py
(currently I am using the default ones). Maybe reducing theram_safety_factor
? I also thought about "dirty" solutions, like putting themanage_numcalc
in an infinite loop with a "try/except" statement.