Accumulating Two-Stage Form Compiler memory #3721
Unanswered
lindsayad
asked this question in
Firedrake support
Replies: 2 comments 12 replies
-
It might be the in-memory cache here: https://github.com/firedrakeproject/firedrake/blob/master/firedrake/tsfc_interface.py#L57. In which case you want to do
this is what Thetis do in their tests. |
Beta Was this translation helpful? Give feedback.
1 reply
-
These parameters shouldn't change the form (if you wrapped them in Constant), so you wouldn't make more kernels. |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, we have an HDG Navier-Stokes application in which we perform a sequence of SNES solves with lower and lower viscosity using the previous solution as the initial guess for the next solve. I am running into OOM errors on my cluster. Using
tracemalloc
, the memory accumulation appears to be occurring due toDo you have any suggestions on how to clear this memory? I added a
gc.collect()
at the end of each solve but that doesn't appear to have an effect on this.Beta Was this translation helpful? Give feedback.
All reactions