You are correct Bruno. (BTW: The book arrived on Christmas Eve - it is an impressive piece of work and very easy to read. I really like the Foobar maps. Thanks)
I have the tool working well: it deals with the layers, symbology, projection, geometry, attributes, hyperlinks and high resolution raster images very well - in most cases. I had it in mind to contact you off-list to get a mailing address to send you some samples of the output (the pdf files range in size from 200-700MB). But I am still annoyed by this OOM Exception so I haven't followed up. If you wish, I am happy for you to email me privately. I don't think random data will work - I have a large set of data and am producing pdfs from "cut-outs" of this data at different extents. The exception happens on some not on others. I suspect, but haven't fully confirmed, that there is some threshold involved. After Paulo's advice yesterday I am now thinking that the problem may be in my code/design. I am, almost, certain that it is not so much a leak as fragmentation of the heap that is causing the problem - .Net memory management is a "black" art. I have had to deal with this in getting the large images into the output pdf: sometimes a 9MB tile is too big, other times 30MB will sail through without problem. Maybe there are similar issues with arrays... If I can't resolve the issue soon I'll just have to trim the extent of the map and call it an implementation issue :-) It is nice that your local ESRI people are interested; the ESRI people here are singularly un-impressed... but I believe that will change once people start to realise the value of pdf as a distribution & archival format for spatial data (are you listening Leonard?) The tool is at "beta" stage now so if you have access to (Version 9.x) ArcView, ArcEditor or ArcMap I can forward it for evaluation and feedback. Cheers AlanK -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruno Lowagie Sent: Saturday, 30 December 2006 7:56 PM To: Post all your questions about iText here Subject: Re: [iText-questions] FW: OutOfMemory exception onContentByte.LineTo Alan wrote: > Thanks for the offer Paulo, > But there is just way too much data and the code runs as an extension to > another (expensive) proprietary application. I know: we're talking about an ESRI plug-in. By the way: I met some ESRI people at JavaPolis and they were very interested in your application. Maybe it's possible to reproduce the problem if you create random data in a loop? Of course: I have been working on GIS projects in the past too. As soon as different applications work together, it's hard to find which of those applications cause the memory problem. I once had a similar problem where the problem was caused by an ESRI library leaking memory. However, that was almost 9 years ago, I'm sure that particular problem has been fixed by now ;-) br, Bruno ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
