Re: [iText-questions] Out of memory problem

2012-12-12 Thread yotamv
Thanks! This works great. Should I use different ways for different file sizes? What is recommended? You really saved me here, thanks again. Yotam -- View this message in context: http://itext-general.2136553.n4.nabble.com/Out-of-memory-problem-tp4657110p4657123.html Sent from the iText - Gen

[iText-questions] Out of memory problem

2012-12-08 Thread Yotam Vered
Hi all, I'm getting OutOfMemoryError while trying to deal with existing PDFs. The Error happens only for files larger then 3M (+-). Code is working fine for files smaller than that. Exception in thread "AgentThread: JavaAgent" java.lang.OutOfMemoryError at com.itextpdf.text.pdf.IntHashtable.rehash

Re: [iText-questions] out of memory problem with PdfReader

2006-10-20 Thread Paulo Soares
-Xmx64m works for me. Are you using the latest iText release? Paulo - Original Message - From: "Tony He" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 20, 2006 5:45 PM Subject: Re: [iText-questions] out of memory problem with PdfReader Hi, P

Re: [iText-questions] out of memory problem with PdfReader

2006-10-20 Thread Tony He
served space for new object initialization.  It might help.   == stanton From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Tony HeSent: Friday, October 20, 2006 9:16 AMTo: Post all your questions about iText hereSubject: Re: [iText-questions] out of memory problem with PdfReader

Re: [iText-questions] out of memory problem with PdfReader

2006-10-20 Thread Stanton Fisque
:16 AM To: Post all your questions about iText here Subject: Re: [iText-questions] out of memory problem with PdfReader   Hi, Paulo: I already bumped memory to -Xms32m -Xmx256m -Xss8m. It dosn't seem to help. I actully have another file that is bigger than this one but reads OK.

Re: [iText-questions] out of memory problem with PdfReader

2006-10-20 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Tony He > Sent: Friday, October 20, 2006 5:16 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] out of memory problem with PdfReader >

Re: [iText-questions] out of memory problem with PdfReader

2006-10-20 Thread Tony He
-Original Message- > From: [EMAIL PROTECTED]> [mailto:[EMAIL PROTECTED] ] On> Behalf Of Tony He> Sent: Friday, October 20, 2006 2:39 AM> To: [email protected]> Subject: [iText-questions] out of memory problem with PdfReader >> Hi, I got an out of memroy

Re: [iText-questions] out of memory problem with PdfReader

2006-10-20 Thread Paulo Soares
Throw more memory at it, there's no other solution. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Tony He > Sent: Friday, October 20, 2006 2:39 AM > To: [email protected] > Subject: [iTex

[iText-questions] out of memory problem with PdfReader

2006-10-19 Thread Tony He
Hi, I got an out of memroy (outofstack) exception when creating a new PdfReader(filename). The exceptions come from PdfReader.removeUnusedNodes() method. My pdf file has hundreds of bookmarks.   Can anybody tell me how to get around this problem?   Thanks, Jean -