Closed joshyam-k closed 8 months ago
Part of the problem is that since I'm looping through j
, the N_j x B
matrices all simultaneously exist in memory.
If this part of the procedure:
happens in a separate c++ function call for each j
, will each N_j x B
matrix just exist on the stack for the duration of that separate function call? That would mean that only one N_j x B
matrix would exist on the stack at a time.
Even though working with
N_j x B
matrices (where j indexes a domain) helps with memory issues, these objects can often still be too big.