Skip to content

Memory issue when exiting OpenFLUIDjs from node.js server app #1042

Open
@eup31000

Description

@eup31000

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions