Large memory allocation in ForwardDiff

Oh, I see. Makes sense now. Did you try tell ForwardDiff to use a chunk size of 1?

1 Like