Forum Bugs

Orphaned process handles

kplouffe
Hi,

We are calling prince from an ASP page and end up with these orphaned handles under the .NET application pool process (found using process explorer), 1 set for each PDF created:

<Non-existent Process>(5756)
<Non-existent Process>(5756): 5360

Each handle takes up around 4KB of RAM. Is there something in the code we should be doing to force these handles closed?

We're using PrinceXML v5, so maybe this is an issue fixed in 6 or 7?

Thanks!
mikeday
Are the PDF files being created properly? And are you using Prince to write files, or write to the ASP response stream? It would be best to retry with Prince 7.0 and see if the problem goes away then.