java - POI 读取大量数据出错
阿神
阿神 2017-04-18 09:06:44
0
2
791

Workbook workbook = WorkbookFactory.create(new FileInputStream(excel);
这一句就报了内存溢出,应该是excel一次性载入内存导致的。有什么办法解决呢?
.xls大小是 207M

阿神
阿神

闭关修行中......

reply all(2)
左手右手慢动作

I do a lot of Excel parsing, detailed explanation: http://blog.csdn.net/lishengbo/article/details/40711769

大家讲道理

Memory overflow? Start thread reading?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!