<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [pdftocairo] Memory leak, memory fills in seconds"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=85140#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [pdftocairo] Memory leak, memory fills in seconds"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=85140">bug 85140</a>
              from <span class="vcard"><a class="email" href="mailto:ravdune+bugzilla@gmail.com" title="MH <ravdune+bugzilla@gmail.com>"> <span class="fn">MH</span></a>
</span></b>
        <pre>Could do a sanity check, don't load if PDF claims to be over 100,000 pages or 1
million pages long, or check that file size is at least X bytes.

A long-term solution, if such huge files are to be supported, would be to load
the file in 100,000 page chunks, then load the second part etc. I'm not sure
how that would fit into your architecture, however.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>