Re: memory requirements
"Mr. Shawn H. Corey" <[email protected]> Mon, 24 Nov 2008 08:13:34 -0500
| Newsgroups | gmane.comp.lang.perl.modules.pdfapi2 |
|---|---|
| Message-ID | <1227532414.8845.30.camel@mungo> |
On Mon, 2008-11-24 at 12:06 +0000, paolo_asioli wrote: > Hello all! > > I've tried using finishobjects and the -file object creation to > minimize memory requirements but I only get the file to be written to > disk as it's created instead of all together at the end. > > But I see the memory usage increasing until I destroy the $pdf object. > > Any idea why ? That's because you keep adding stuff to $pdf. Because of the structure of PDF, you can't create a file for it until you know all the parts. The file can only be created at the end. -- Just my 0.00000002 million dollars worth, Shawn The map is not the territory, the dossier is not the person, the model is not reality, and the universe is indifferent to your beliefs.