What happens if you open that file with adobe reader? On my system it needs
100% CPU and does nothing for several minutes. After a while I got tired of
waiting and aborted the process...
So probably iText handles bookmarks differently which needs more space thus
you need to increase your memory assigned to the jvm. Did you do that? If
so what kind of memory error did you get? General one? Hout of Heap space?
Out of Permgen space? Try the following options:
-Xms<size> and -Xmx<size>
2013/7/18 Giuseppe Fina <cubasia1...@gmail.com>
> I have created this file using itextsharp.
>
> It has a huge quantity of Bookmark, but nitro is able to open the file and
> i cand read it.
>
> I want to retrive the bookmarks but when i try i get the out of memory
> error and i have more than 4G on my pc win 7 64bit/s.
>
> Here the code
> Dim pippo() As Byte = Nothing
> Dim pippa As PdfReader = New PdfReader(New
> RandomAccessFileOrArray(pdffilename), pippo)
> Dim sw As FileStream = New FileStream("C:\test.xml",
> FileMode.Create)
>
> SimpleBookmark.ExportToXML(*SimpleBookmark.GetBookmark(pippa)*,
> sw, "UTF-8", False)
>
> I am able to read the file but there is no way to get the bookmark no
> matter what kind of IO.Systems I have used.
>
>
> I have attached the file.
>
> If this is not the right support, please let me know where is .
> Tks
>
> G.
>
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> iText(R) is a registered trademark of 1T3XT BVBA.
> Many questions posted to this list can (and will) be answered with a
> reference to the iText book: http://www.itextpdf.com/book/
> Please check the keywords list before you ask for examples:
> http://itextpdf.com/themes/keywords.php
>
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php