-
From: Kevin Day [mailto:ke...@trumpetinc.com]
Sent: Tuesday, August 05, 2014 5:47 PM
To: itext-questions@lists.sourceforge.net
Subject: Re: [iText-questions] Rebuild failed: Map failed; Original message:
Map failed
ok - I'm not sure about the best way to proceed. We do a tremendous amou
ok - I'm not sure about the best way to proceed. We do a tremendous amount
of high volume processing of very large files in many hundreds of different
environments, and have not run into this, so this would seem to point at the
problem being caused be a very unusual corner case. Having something
Addition to it... there are 6 file including the 81M got processed on same day
which are bigger than 67M.
From: Chandrashekhar Pandhare
Sent: Tuesday, August 05, 2014 4:17 PM
To: 'Kevin Day [via iText - General]'
Subject: RE: Rebuild failed: Map failed; Original message: Map failed
The 67M file
The 67M file failed all the times and yes it ran more than 25 times as the
process runs every two hours 8 times a day (ran for 4 days). Same was with
another 71M file. The 81M file was successful in the first place and since
prod I cannot run it again in prod.
The both 67M and 71M files ran
ok - this is strange, then... How reliably can you get it to fail with the
67M file, and how reliably can you get it to not fail with the 81M file? In
other words, if you put these in a loop and do one, then the other, 25
times, will the 67M file always fail?
Another detail here that may be impo
Yes, the file failing is 67,268,608 bytes and it is 64 bit JVM. Surprisingly
I have got bigger 81,155KB file got processed successfully.
From: Kevin Day [via iText - General]
[mailto:ml-node+s2136553n4660194...@n4.nabble.com]
Sent: Tuesday, August 05, 2014 3:30 PM
To: Chandrashekhar Pandhare
ok - thanks - what is the size of the file?
Also, are you running 32 bit JVM or 64 bit JVM?
The problem is that memory mapping is failing. If the file is smaller than
67,108,864 bytes, then iText is attempting to map the entire file. If it is
above that amount, iText will map chunks of the file
...@trumpetinc.com]
Sent: Friday, August 01, 2014 1:15 PM
To: itext-questions@lists.sourceforge.net
Subject: Re: [iText-questions] Rebuild failed: Map failed; Original message:
Map failed
This means that iText attempted to memory map the file, and it failed.
Can you please post your code that you
Here is the code wher I am using PDFReader.
public void processInputPDF(String pdfToRead) {
PdfReader reader = null;
try {
reader = new PdfReader(pdfToRead);
totalPages = getTotalPages(reader);
This means that iText attempted to memory map the file, and it failed.
Can you please post your code that you used to construct the PDFReader?
What operating system is the server?
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/Rebuild-failed-Map-failed-Original-me
What is the cause of this exception on particular server? Works on local JVM
and fails on other server. Using itextpdf-5.4.1.jar
com.itextpdf.text.exceptions.InvalidPdfException: Rebuild failed: Map failed;
Original message: Map failed
INFO | jvm 1| 2014/08/01 08:00:59 | at
11 matches
Mail list logo