pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anshuman (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PDFBOX-4441) Memory Leak Issue in case of Processing Large PDF File size > 8 MB
Date Tue, 22 Jan 2019 11:19:01 GMT
Anshuman created PDFBOX-4441:
--------------------------------

             Summary: Memory Leak Issue in case of Processing Large PDF File size > 8 MB
                 Key: PDFBOX-4441
                 URL: https://issues.apache.org/jira/browse/PDFBOX-4441
             Project: PDFBox
          Issue Type: Bug
          Components: Parsing
    Affects Versions: 2.0.8
         Environment: Linux
            Reporter: Anshuman
         Attachments: Screenshot 2019-01-22 08.19.53.png, sample.pdf

*Getting Memory Leak in case of parsing Large PDFs. Memory Leakage occurring after processing
the files i.e without any processing heap size is increasing.
 Attaching  the sample file as well Heap Graph for the same.*

*Here is my codeĀ *

try {
 PDDocument pdDocument = PDDocument.load(file, MemoryUsageSetting.setupTempFileOnly());
 PDFText2HTML pdfText2HTML = new PDFText2HTML();
 fileContent = pdfText2HTML.getText(pdDocument);
 pdDocument.close();
} catch (IOException e) {
 log.error("Exception while parsing the file:{} and the message is: ", file.getName(), e);
}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org


Mime
View raw message