AW: Splitter.createNewDocument() always uses main memory only - this leads to out of memory when splitting large documents

2017-07-17 Thread D.Hamann
Hi Tilman, I really appreciated the introduction of MemoryUsageSetting a couple of version ago as it saved me a lot of time and headache when we stumbled across an out of memory problem merging single page documents to large multi page documents. If currently PDF box tools do not make use of th

AW: AW: Splitter.createNewDocument() always uses main memory only - this leads to out of memory when splitting large documents

2017-07-14 Thread D.Hamann
eview? Thanks again! -Ursprüngliche Nachricht- Von: Andreas Lehmkühler [mailto:andr...@lehmi.de] Gesendet: Freitag, 14. Juli 2017 11:18 An: users@pdfbox.apache.org Betreff: Re: AW: Splitter.createNewDocument() always uses main memory only - this leads to out of memory when splitting

Re: AW: Splitter.createNewDocument() always uses main memory only - this leads to out of memory when splitting large documents

2017-07-14 Thread Andreas Lehmkühler
You are looking at the wrong place. pdfbox-app is just a meta project to create a convience binary of all relevant subprojects. It doesn't contain any source code. The source code you are looking for is here: https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox/2.0.7-

AW: Splitter.createNewDocument() always uses main memory only - this leads to out of memory when splitting large documents

2017-07-14 Thread D.Hamann
Hi, I talking about the snapshot versions provided here: https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/2.0.7-SNAPSHOT/ Can you tell me were to download jars containing source files? The source jars there just contain the META-INF directory but nothing else.

AW: Splitter.createNewDocument() always uses main memory only - this leads to out of memory when splitting large documents

2017-07-14 Thread D.Hamann
Hi Tilman, I used a decompiler to have a look at the sources. Perhaps it would be a good idea to set Splitter() deprecated @deprecated public Splitter() {} public Splitter(MemoryUsageSetting memoryUsageSetting) { this.memoryUsageSetting = memo

AW: Splitter.createNewDocument() always uses main memory only - this leads to out of memory when splitting large documents

2017-07-14 Thread D.Hamann
Hi Tilman, thanks a lot for addressing this topic so incredibly fast. I wanted to do the review but source jars from https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/2.0.7-SNAPSHOT/ are significantly smaller than the jars there containing class files only. Tha