We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
使用ForkJoin框架进行并发导入,虽然导入的粒度可控,性能可以,但是特别耗内存。
内存是有限的,在java中将excel数据转实体的过程中,如果excel有几十万条数据, 就会构建几十万个实体,况且excel单元格如果有很长的文本,特别容易导致OOM。
The text was updated successfully, but these errors were encountered:
今天开始解决这个内存问题,打算采用异步分段处理大数据量问题,内存方面会根据虚拟机内存自动处理内存问题。
Sorry, something went wrong.
解压一个42M的xlsx文件,里面有79w条数据,花费了1.4s左右。 79w条数据的xml解析遍历花费36s左右。没有内存溢出风险,因为用的是固定的缓冲大小
No branches or pull requests
使用ForkJoin框架进行并发导入,虽然导入的粒度可控,性能可以,但是特别耗内存。
内存是有限的,在java中将excel数据转实体的过程中,如果excel有几十万条数据,
就会构建几十万个实体,况且excel单元格如果有很长的文本,特别容易导致OOM。
The text was updated successfully, but these errors were encountered: