https://bz.apache.org/bugzilla/show_bug.cgi?id=61371
--- Comment #2 from Lakshminathan <lakshminathanl...@gmail.com> --- The file size as you can see from the attachment is just 9Kb . It has only one cell with data. But since there are 2^20 hidden cells Apache POI allocates more heap space causing heap space full exception. I think this can be handled only by Apache POI because file size is the only information we get even before reading the file. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org