S
sonzos
Hey,
Im currently working on a solution, where i need to save each page in a
visio document as a picture.
The problem is the memory, the document is 160 pages.
I use For each to step through all pages of the document, and saves
each page with the page.Export(Filename) function. For each page saved,
visio uses more and more memory. When it is finish, Visio uses 1,9GB of
memory, and it stays at that amount, until i restart visio.
I tried to use GC.Collect(), and setting the
visio.application.undoenabled = false, but neither of them helps with
the memory.
I use VB.Net.
Søren
Im currently working on a solution, where i need to save each page in a
visio document as a picture.
The problem is the memory, the document is 160 pages.
I use For each to step through all pages of the document, and saves
each page with the page.Export(Filename) function. For each page saved,
visio uses more and more memory. When it is finish, Visio uses 1,9GB of
memory, and it stays at that amount, until i restart visio.
I tried to use GC.Collect(), and setting the
visio.application.undoenabled = false, but neither of them helps with
the memory.
I use VB.Net.
Søren