# EasyExcel, a Java toolkit for parsing Excel easily
There are several Java frameworks or toolkits which can parse and generate Excel, such as Apache POI or jxl. But they all have some difficulties to handle problems like excessive memory usage. Apache POI framework has a set of SAX mode API can fix some memory overflow problems at some extent, but it still has some flaws. For example, the unzipping and the storage of the unzipping of Excel file in version 07 are done in memory, so the memory consumption is still very high. The EasyExcel toolkit rewrites the logic of POI for parsing Excel version 07. One 3 megabytes Excel file parsed with POI still requires about 100M memory, which can be reduced to a few megabyte by using EasyExcel instead. And yes, there is no memory overflow for even larger Excel with EasyExcel. EasyExcel version 03 depends on POI SAX model and does model transformation/encapsulation in the upper layer to make it simpler and more convenient for users.
* It is not recommended upgrading across major versions, especially across 2 major versions.
* There are some incompatibilities in upgrading from version 2+ to version 3+.
* Using a custom interceptor to modify the style can cause problems, even if it does not compile with errors.
* When reading the Excel file, the `invoke` function will throw an exception, there will not be an additional layer of `ExcelAnalysisException` wrapped here, and it will not compile with errors.
* Style and other annotations involving `boolean` or some enumeration values have been changed, adding the default value. The compiler will report an error, just change the annotation.
* It is recommended to re-test the relevant functions after upgrading across major versions.
Try searching for the issue at the following 2 links, and if it doesn't exist try creating an `issue`.
* Go to [github](https://github.com/alibaba/easyexcel/issues) and search for `issues`.
* Go to [gitee](https://gitee.com/easyexcel/easyexcel/issues) and search for `issues`.
Solving a problem via `issues` is recommended because it can be viewed later by users who encounter the same problem.
No matter `github` or `gitee`, there will be someone to answer your question regularly. If it's urgent, you can send an `issue` address to the group owner after you've raised an `issue` in the pinned group to help you solve the problem.
## Join DingTalk & QQ group to discuss the problem
Join DingTalk or QQ group to get help after reading the announcement.
We recommend the `DingTalk`. For some reasons, some of the project's maintainers are unable to use QQ during working hours.Of course, QQ group will have enthusiastic users to help solve the problem.
[History Discussion Group Collection](/DISCUSSIONGROUP.md)
[Communication Group 8 in QQ: 113968681](https://qm.qq.com/q/qwfl5RRBAG)
[Communication Group 13 in DingTalk:83695000992](https://qr.dingtalk.com/action/joingroup?code=v1,k1,2JFUbWfxD1fGiq7LRW+mYjcK7s7onp/s1ZqOvfzkFGE=&_dt_no_comment=1&origin=11)
// Specify which entity object class to use to read the Excel content. The file stream will close automatically after reading the first sheet of Excel.
EasyExcel.read(fileName, DemoData.class, new DemoDataListener()).sheet().doRead();
// Specify which entity object class to use to write Excel, it will write to the first sheet of Excel with the name template. Then the file stream will be closed automatically.
// With version 03, just pass in the excelType parameter