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

overhead limit GC #4

Open
zidekuls opened this issue Mar 31, 2019 · 2 comments
Open

overhead limit GC #4

zidekuls opened this issue Mar 31, 2019 · 2 comments

Comments

@zidekuls
Copy link

你好,我看报错信息,其中有个方法是xssfReader的sharedStringsTable。我是导入10万条数据,第一次还行,如果接着再导第二次,就这样了。目前还没有插入数据库,只是解析和校验

@programmeres
Copy link
Owner

你是说你导入10万条的Excel数据,第一次导入并插入数据库没问题,第二次导入发生内存溢出,并且没有插入数据库?
附上代码?

@zidekuls
Copy link
Author

zidekuls commented Apr 15, 2019

不是的,并没有插入数据库的操作,就是先试验了下。我后来查了下,是因为生成的java对象过大,直接进入老年代,频繁full gc导致的

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

2 participants