Dear Florian,

> If I use BlockCompressedSparsityPattern I get 0.7% memory consumption (total
> amount 32GB). If I use BlockCompressedSetSparsityPattern I get 6.8% memory
> consumption. Shouldn't the memory be the same after the destructor of the
> sparsity patterns has been called, in line 7? If this is not the case, then
> I think that I do not really understand what the sparsity pattern is doing
> and which object has allocated the memory.

As far as I know, the program will generally keep the memory around
even after it is no longer used -- to have it ready if it would be
needed again by some other objects. You shouldn't have any trouble
after the generation of the sparsity pattern and both objects should
actually use the same amount of memory...

Best,
Martin


_______________________________________________

Reply via email to