ebourg commented on PR #731:
URL: https://github.com/apache/poi/pull/731#issuecomment-2504206964

   > the different size computed which is always larger or equal than 
previously and may lead to different memory allocations down the road.
   
   One extreme case comes to mind, for example a file with n mini FAT sectors, 
all unallocated except the last one with only one allocated mini sector at the 
beginning. In this case the old method computes a size of 1 sector (64 bytes) 
and the new method computes a size of 128 x (n - 1) + 1 sectors. For a file 
using 4096 byte sectors and 10 mini FAT sectors, the computed size of the mini 
FAT would grow from 64 bytes to 576KB.


-- 
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: dev-unsubscr...@poi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to