Hello,
We are rendering several documents using the IRendererFactory serveral places in our code (some are use to create order attachments, others are sent through the print-pipeline, etc.) What is best practice when disposing of the IRendering objects so it does not cause side-effects within Select?
Expected Lifetime of IRendering
-
- Posts: 73
- Joined: Thu May 21, 2015 2:28 pm
Re: Expected Lifetime of IRendering
The side-effects we're seeing are memory leaks. We already call dispose on the IRendering when we're finished with it, but we still regularly run out of memory. Any thoughts?
-
- Posts: 54
- Joined: Wed Sep 24, 2008 2:37 pm
- Location: Raleigh, NC
- Contact:
Re: Expected Lifetime of IRendering
What are the types of objects that you see being leaked? Also, along with disposing of the IRendering instance, ensure you dispose of the IRenderer instance that you receive from the IRendererFactory.Create() method.
Phil Barton
Software Architect
SoftPro
Software Architect
SoftPro