Currently every observable of every step during a sampling run is stored until the end and then afterwards an automatic blocking technique is used for the best error estimate. If the number of observables and steps is large though, this result in huge memory requirements.
To solve this:
allow to specify a fixed number of blocks to store observables values, by passing nblocks to integrate
add another unittest to test that fixed blocking indeed gives the expected result
Currently every observable of every step during a sampling run is stored until the end and then afterwards an automatic blocking technique is used for the best error estimate. If the number of observables and steps is large though, this result in huge memory requirements.
To solve this: