valerybokov opened a new pull request, #528:
URL: https://github.com/apache/pdfbox/pull/528

   The buffer chunk-size estimate in the static decode() collapsed to the
   flat 4KB default for any encoded stream >= 1KB, forcing thousands of
   separate 4KB chunk allocations in RandomAccessReadWriteBuffer when
   decoding large images/fonts. Cap the estimate at 1MB instead of
   falling back to 4KB, cutting the number of chunk allocations for large
   streams while still bounding worst-case preallocation


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to