Thread View: adobe.psprinter.windows
4 messages
4 total messages
Started by Robert Notaro
Tue, 11 Mar 2003 16:27
Memory leaks printing to distiller printer from within VB
Author: Robert Notaro
Date: Tue, 11 Mar 2003 16:27
Date: Tue, 11 Mar 2003 16:27
3 lines
1242 bytes
1242 bytes
We are printing multiple documents to a Distiller printer from within a VB app. We are using the AcroExch.AVDoc print command to do this. As each document prints, the memory allocated to acrodist.exe increases until we get the generic Windows "running low on virtual memory" message. I tried killing the AcroExch object and re-instantiating it but the acrodist.exe remains running. Is there any way to prevent/circumvent this memory leak (if that is what it is)?
Re: Memory leaks printing to distiller printer from within VB
Author: Clay Hotchkiss
Date: Tue, 11 Mar 2003 21:54
Date: Tue, 11 Mar 2003 21:54
3 lines
1181 bytes
1181 bytes
There is also a memory leak using the GetNumText function of the CAcroPDTextSelect object. Every time the function is called, the amount of memory used by Acrobat.exe grows by about 200K. I also noticed that each time you do a find within Acrobat, the amount of memory used increases... this can be seen by viewing the memory usage in Task Manager. In VB, I had to destroy each acrobat object prior to iterating to the next page.
Re: Memory leaks printing to distiller printer from within VB
Author: Robert Notaro
Date: Wed, 12 Mar 2003 02:16
Date: Wed, 12 Mar 2003 02:16
1 lines
1026 bytes
1026 bytes
Yes, I keep a counter and destroy the acrobat object every so many iterations, also. But even though the acrodist.exe is started by the Acrobat object, destroying the Acrobat object doesn't kill the acrodist.exe. It stays out there. Even after stopping the VB process it is still out there.
Re: Memory leaks printing to distiller printer from within VB
Author: Ed L. Clark
Date: Wed, 12 Mar 2003 18:08
Date: Wed, 12 Mar 2003 18:08
1 lines
972 bytes
972 bytes
How do you destroy the acrobat object? I'm also working on a VB app and acrobat.exe hangs around in my task manager until I close the vb app itself.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads