Bug 51740 - SXSSFSheet autoSizeColumn not considering all rows
Summary: SXSSFSheet autoSizeColumn not considering all rows
Status: RESOLVED DUPLICATE of bug 57450
Alias: None
Product: POI
Classification: Unclassified
Component: SXSSF (show other bugs)
Version: 3.8-dev
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
Depends on:
Reported: 2011-08-29 15:26 UTC by jerome.neuville
Modified: 2015-12-07 19:50 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description jerome.neuville 2011-08-29 15:26:37 UTC
The autoSizeColumn method deals only with the last rows flushed. I would like do an autosize when all rows are flushed. It's not possible with POI-3.8 beta 4 and an SXSSFWorkbook.
Comment 1 Nick Burch 2011-08-29 15:49:00 UTC
This is as expected. SXSSF only has the un-flushed data around to decide based on. If it kept more, then you'd loose all the memory benefits!

You should either use regular XSSF (and ensure you have enough memory), or adjust the flush size
Comment 2 Stefan Thurnherr 2015-12-07 19:45:37 UTC
FYI: This has been solved in 3.14beta1, see #57450 .
Comment 3 Javen O'Neal 2015-12-07 19:50:23 UTC

*** This bug has been marked as a duplicate of bug 57450 ***