Maybe the answer of Dominik to another question few days ago can also
answer your question:
http://sourceforge.net/mailarchive/forum.php?thread_name=CAOEXkaxVmqzoQ0z38M3VfY72uWqOOYHe103M3smE9sa8Zx6Kqw%40mail.gmail.com&forum_name=podofo-users
The summary can be: "PoDoFo is oriented towards working with the object
level structure of a PDF, it has to keep lots of stuff in memory"
Regards,
Enric
"Robert Webb" <r...@spatial.net.au> wrote on 24/04/2013 08:16:39:
> From: "Robert Webb" <r...@spatial.net.au>
> To: <podofo-users@lists.sourceforge.net>,
> Date: 24/04/2013 08:50
> Subject: [Podofo-users] PoDoFo allocating too much memory
>
> Hi,
>
> I'm using PoDoFo to read a PDF, and it's crashing due to allocating too
> much memory.
> I know about PdfStreamedDocument, but it seems this is only for writing
> PDFs, not reading them.
> So we are forced to use PdfMemDocument.
>
> We are using 0.9. I see 0.9.2 is out, but it requires OpenSSL and I
> haven't tried it yet.
> I can't see a list of what's changed because the ChangeLog file just
> says to look at the SVN log, which I can't find.
> Is 0.9.2 likely to be any better at allocating less space? I'm guessing
> not.
>
> We are using this on mobile devices, via Marmalade (a cross-platform SDK
> for mobile devices), so memory is tight.
>
> Do you have any suggestions for stopping PoDoFo from allocating so much
> memory when reading?
>
> I couldn't find an alternative library for reading PDFs into our app.
> Most open source libraries are just focused on writing.
>
> Thanks,
> Rob.
>
>
------------------------------------------------------------------------------
> Try New Relic Now & We'll Send You this Cool Shirt
> New Relic is the only SaaS-based application performance monitoring
service
> that delivers powerful full stack analytics. Optimize and monitor your
> browser, app, & servers with just a few lines of code. Try New Relic
> and get this awesome Nerd Life shirt!
http://p.sf.net/sfu/newrelic_d2d_apr
> _______________________________________________
> Podofo-users mailing list
> Podofo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/podofo-users
>
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users