<div dir="ltr"><div><div>Hi<br></div><div><br></div>Finally I have written small program (<span id="result_box" class="" lang="en"><span class="">thanks</span> <span class="">to your indications) </span></span>that using pdftotext.cc code (version poppler-0.24.5) to read pdf file ad use 'doc = new PDFDoc(str, ownerPW, userPW);' <span id="result_box" class="" lang="en"><span class="">in place of the 'doc = PDFDocFactory().createPDFDoc(*fileName, ownerPW, userPW); to make new document'.<br>
<br></span></span></div><div><span id="result_box" class="" lang="en"><span class="">It work fine but, if I read more pdf with large size in same running process it use lot of system memory and f</span></span><span id="result_box" class="" lang="en"><span class="">or one hundred of files pdf it comes to busy hundred of MB of ram.<br>
</span></span></div><div><span id="result_box" class="" lang="en"><span class=""><br></span></span></div><div><span id="result_box" class="" lang="en"><span class="">I released all memory into my program (valgrind only give warnings outside of my code) but problem persist.<br>
</span></span></div><span id="result_box" class="" lang="en"><span class=""></span></span><div><span id="result_box" class="" lang="en"><span class=""><br></span></span></div><div><span id="result_box" class="" lang="en"><span class="">I have also readed that fontconfig can be cause of these problems but, can I disable fontconfig in poppler?<br>
<br></span></span></div><div><span id="result_box" class="" lang="en"><span class="">Do you know another solution?<br><br></span></span></div><div><span id="result_box" class="" lang="en"><span class="">Greetings<br><br></span></span></div>
<div><span id="result_box" class="" lang="en"><span class="">Marco<br></span></span></div><div><span id="result_box" class="" lang="en"><span class=""><br></span></span></div></div>