Open
Description
When running multiple times the same OpenFLUID simulation model through the OpenFLUIDjs packet on a node.js server, the node.js server seems to crash randomly after the simulation finishes, possibly an indication of a memory corruption somewhere or a compatibility issue with the latest node (using express 4.17.1 in my project):
The call to OpenFluidjs is trivial and as followed:
OpenFLUID.setCurrentOutputDir(folderOut);
blob = OpenFLUID.openDataset(folderIn);
OpenFLUID.runSimulation(blob,true);
OpenFLUID.deleteBlob(blob);
Attached is an OpenFLUID model to replicate the problem, I can provide more details and model to replicate the problem on demand.
base.zip