New Forum | Previous | Next | (P-PDF) Developers
Topic: PDDocInsertPages memory loss ?
Conf: (P-PDF) Developers, Msg: 81501
Date: 2/14/2003 08:40 PM
Has anybody had problems with memory loss when inserting pages in to a document from large source documents ?
seem to be loosing 4k per new doc insert, do this 3000 times and it becomes a major problem, anything missing below ? (same happens without save)
PDDoc newDoc = PDDocCreate();
PDDocInsertPages(newDoc, PDBeforeFirstPage, AVDocGetPDDoc(AVAppGetActiveDoc()), 3000, 3007, false, NULL, NULL, NULL, NULL);
PDDocSave (newDoc, PDSaveFull | PDSaveCollectGarbage, pathName, ASGetDefaultFileSys(), NULL, NULL);