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
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
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
>
>
>> 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
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
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
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
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
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)
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
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).
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
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
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
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
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:
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
17 matches
Mail list logo