-
Notifications
You must be signed in to change notification settings - Fork 177
Closed as not planned
Labels
Description
Using the write() method of a VTKFile object in a time stepping loop for a PeriodicSquareMesh() in 2D with DG0 leads to a quick memory accumulation when executed in parallel. This persists even without the solve() call (the red line representing memory):
This was observed running the following script:
The problem seems to be independent of the core number as long as run in parallel (n>1).
I also tested for this behaviour using another 2D problem with DG0 on a RectangleMesh(). Interestingly, without solve() call the problem persists again, however with a solve() call the memory usage is stable. To me it seems that memory allocated within the VTKObject is released in the solve() call depending on the chosen MeshUtility.
