Re: [iText-questions] htmlworker.parseToList - for RTF

2009-04-15 Thread Brian Busch
I got a very similar issue ; has there been any progress on the possible > > cause or a possible workaround? > > > > Cheers, > > Ben > > > > > > Brian Busch wrote: > >> > >> We have an EXT client that allows HTML in a "comment window&q

Re: [iText-questions] Image.getInstance issue

2009-03-04 Thread Brian Busch
On Wed, Mar 4, 2009 at 7:10 PM, Antonio Manuel Muñiz wrote: > >> Someone asked for a "standalone" example and the faulty PDF - looks like >> you covered yourself in the code... >> > > Sorry, I don't understand you very well. I attach the faulty PDF (if what > you mean). > I'm sorry - I seem to h

Re: [iText-questions] Image.getInstance issue

2009-03-04 Thread Brian Busch
On Wed, Mar 4, 2009 at 5:56 PM, Antonio Manuel Muñiz wrote: > Hello Brian, thanks for your reply. > > I have renamed the image to image123456XYZ.png, I'm sure that I haven't an > image with this name in the classpath. > I have added this to my code: > > URL resource2 = > this.getClass().getClassL

Re: [iText-questions] Image.getInstance issue

2009-03-04 Thread Brian Busch
> > >> Just for testing - change the name so it doesn't start with a '-' (hypen). >> It might be a bad URL even tho it doesn't throw an exception. Weird, but >> easy to test. >> > > If this still fails - remember, you're scanning the classpath for a file of > that name - java will stop at the first

Re: [iText-questions] Image.getInstance issue

2009-03-04 Thread Brian Busch
On Wed, Mar 4, 2009 at 4:30 PM, Brian Busch wrote: > On Wed, Mar 4, 2009 at 4:09 PM, Antonio Manuel Muñiz < > amunizmar...@gmail.com> wrote: > >> Hello Alexis, >> >> The image is not added although it is in my file system. For example: >> >> public

Re: [iText-questions] Image.getInstance issue

2009-03-04 Thread Brian Busch
On Wed, Mar 4, 2009 at 4:09 PM, Antonio Manuel Muñiz wrote: > Hello Alexis, > > The image is not added although it is in my file system. For example: > > public void imageTest() throws MalformedURLException, IOException, > DocumentException { > Document document = new Document(PageSize.A4, 50

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Brian Busch
On Wed, Mar 4, 2009 at 11:47 AM, Massimiliano Ziccardi < massimiliano.zicca...@gmail.com> wrote: > >Please provide the jvm version/supplier, os/vendor, jvm settings, app > server, iText >version, etc. for your environment - we're guessing without > any data. > > * JAVA VERSION (SUN): > > java vers

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Brian Busch
Just stole and tweaked this little java program to let you test the memory settings (see below). Compile like: javac MemTest.java Run it like (on Unix with >1.5 JVM): % java MemTest 5 10 // 500MB alloc, 10 times - total 5GB // without options, this runs fine: % java MemTest 5 10

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Brian Busch
On Wed, Mar 4, 2009 at 10:35 AM, Massimiliano Ziccardi < massimiliano.zicca...@gmail.com> wrote: > Hi all. > > I KNOW the GC run asyncronously, and I know the memory will be freed when > the JVM needs it or when it has some "free time"... > > I told I think that's not a memory issue because: > 1)

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Brian Busch
On Wed, Mar 4, 2009 at 8:30 AM, Markus Meyer wrote: > Brian Busch schrieb: > > Markus - he included the stack trace on his first post: > > Okay, I missed that, sorry. I missed it the first time too! > java.lang.OutOfMemoryError: Java heap space > > at java

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Brian Busch
On Wed, Mar 4, 2009 at 7:16 AM, Markus Meyer wrote: > It's entirely possible that something is just throwin an out of memory > exception when there actually is enough memory available. > > I think you should check where exactly the out-of-memory condition > occurs (stacktrace of the exception).

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Brian Busch
On Wed, Mar 4, 2009 at 3:26 AM, Massimiliano Ziccardi < massimiliano.zicca...@gmail.com> wrote: > The only object I take in memory is the PDF reader, that, of course get > closed and recreated (with a new instance) after each signature. > > That should clean the memory, if that's not a leak. As

Re: [iText-questions] OutOfMemory error

2009-03-04 Thread Brian Busch
On Wed, Mar 4, 2009 at 3:28 AM, Massimiliano Ziccardi < massimiliano.zicca...@gmail.com> wrote: > Hi Brian. Thanks for your help. > > I don't think that's a memory limit issue: I have 9 *identical* files. You said you're getting OutOfMemory Exceptions? That's a memory limit issue! > > After I s

Re: [iText-questions] OutOfMemory error

2009-03-03 Thread Brian Busch
If you're using a 32 bit JVM you can only have around 3GB in the latest JVMs. You need -bdb On Tue, Mar 3, 2009 at 11:47 AM, Massimiliano Ziccardi < massimiliano.zicca...@gmail.com> wrote: > Thank you for your answer. > > I think the problem is elsewhere: here is the test I did. > > I have 1GB f

Re: [iText-questions] htmlworker.parseToList - for RTF

2009-01-29 Thread Brian Busch
On Mon, Jan 26, 2009 at 3:29 PM, Howard Shank wrote: > Brian, > > When the documentation states iText supports the img tag, it is first and > foremost talking about the PDF functionality it was designed for. RTF > support is not as full featured as PDF support. > > That said, I will try to take a

Re: [iText-questions] htmlworker.parseToList - for RTF

2009-01-26 Thread Brian Busch
gt; > That said, I will try to take a look at your issue when I have a chance. > > Regards, > Howard Shank > > ------ > *From:* Brian Busch > *To:* iText-questions@lists.sourceforge.net > *Sent:* Monday, January 26, 2009 2:36:51 PM > *Subject:

[iText-questions] htmlworker.parseToList - for RTF

2009-01-26 Thread Brian Busch
We have an EXT client that allows HTML in a "comment window" - they drag/type in HTML and we produce a report; before I found your tool, it was always HTML and all was good. We now are using your GREAT iText lib (java) to convert these HTML snippets to RTF - however, even a simple "html" comment wi