Calls are saved on the substitutes themselves, so are cleared when
they go out of scope and are GCd.
We use NSub on a project with thousands of tests (and mocks) without
getting any out of memory exceptions, so anecdotally memory use seems
ok.
I guess one approach you could take is converting your heaviest
fixture to use NSub and see if that exacerbates the OOM exception
problem. If not you should be fine.
Regards,
Dave
> --
> You received this message because you are subscribed to the Google Groups "NSubstitute" group.
> To post to this group, send email to nsubs...@googlegroups.com.
> To unsubscribe from this group, send email to nsubstitute...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/nsubstitute?hl=en.
>