Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

json4excel导出报JAVA内存溢出 #108

Open
howe opened this issue Jun 13, 2018 · 0 comments
Open

json4excel导出报JAVA内存溢出 #108

howe opened this issue Jun 13, 2018 · 0 comments

Comments

@howe
Copy link
Member

howe commented Jun 13, 2018

18:05:04.180 WARN (FailProcessor.java:28) process - Error@/machine/exportOrder :
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:3236) ~[?:1.8.0_172]
at java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:118) ~[?:1.8.0_172]
at java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:93) ~[?:1.8.0_172]
at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:153) ~[?:1.8.0_172]
at org.apache.poi.openxml4j.opc.internal.MemoryPackagePartOutputStream.write(MemoryPackagePartOutputStream.java:88) ~[boss.jar:?]
at org.apache.xmlbeans.impl.store.Cursor._save(Cursor.java:590) ~[boss.jar:?]
at org.apache.xmlbeans.impl.store.Cursor.save(Cursor.java:2544) ~[boss.jar:?]
at org.apache.xmlbeans.impl.values.XmlObjectBase.save(XmlObjectBase.java:223) ~[boss.jar:?]
at org.apache.poi.xssf.usermodel.XSSFSheet.write(XSSFSheet.java:3528) ~[boss.jar:?]
at org.apache.poi.xssf.usermodel.XSSFSheet.commit(XSSFSheet.java:3451) ~[boss.jar:?]
at org.apache.poi.POIXMLDocumentPart.onSave(POIXMLDocumentPart.java:390) ~[boss.jar:?]
at org.apache.poi.POIXMLDocumentPart.onSave(POIXMLDocumentPart.java:395) ~[boss.jar:?]
at org.apache.poi.POIXMLDocument.write(POIXMLDocument.java:221) ~[boss.jar:?]
at org.nutz.integration.json4excel.J4E.saveExcel(J4E.java:644) ~[boss.jar:?]
at org.nutz.integration.json4excel.J4E.toExcel(J4E.java:261) ~[boss.jar:?]
at org.nutz.integration.json4excel.J4E.toExcel(J4E.java:74) ~[boss.jar:?]
at com.xianwan.module.MachineModule.exportOrder(MachineModule.java:72) ~[boss.jar:?]
at com.xianwan.module.MachineModule$FM$exportOrder$148727cd66e4dcadf38ec3e5fdde7e6b.invoke(MachineModule.java) ~[boss.jar:?]
at org.nutz.mvc.impl.processor.MethodInvokeProcessor.process(MethodInvokeProcessor.java:31) ~[boss.jar:?]
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44) ~[boss.jar:?]
at com.xianwan.mvc.GlobalProcessor.process(GlobalProcessor.java:11) ~[boss.jar:?]
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44) ~[boss.jar:?]
at org.nutz.mvc.impl.processor.AdaptorProcessor.process(AdaptorProcessor.java:38) ~[boss.jar:?]
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44) ~[boss.jar:?]
at org.nutz.mvc.impl.processor.ActionFiltersProcessor.process(ActionFiltersProcessor.java:58) ~[boss.jar:?]
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44) ~[boss.jar:?]
at org.nutz.integration.shiro.NutShiroProcessor.process(NutShiroProcessor.java:126) ~[boss.jar:?]
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44) ~[boss.jar:?]
at org.nutz.mvc.impl.processor.ModuleProcessor.process(ModuleProcessor.java:123) ~[boss.jar:?]
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44) ~[boss.jar:?]
at org.nutz.mvc.impl.processor.EncodingProcessor.process(EncodingProcessor.java:27) ~[boss.jar:?]
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44) ~[boss.jar:?]

预计数据3W5条

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant