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

hibernate-re 3.0.0-beta中在线表单导出大量数据时内存溢出 #6867

Closed
zhoujh001 opened this issue Jul 9, 2024 · 6 comments
Closed

Comments

@zhoujh001
Copy link

版本号:

3.0.0-beta

问题描述:

hibernate-re中关于在线表单导出大量数据时内存溢出

错误截图:
image ((Map)var7).put("pageSize", -521); 此参数会使得org.jeecg.modules.online.cgform.service.a.c#queryAutolistPage方法走全量查询的方法,数据量特别大的时候就会导致内存溢出,FullGC不了导致宕机
@zhangdaiscott
Copy link
Member

多大的数据量?

@zhangdaiscott
Copy link
Member

我们忘记那个版本做过优化,可以试下最新版是否存在问题

@zhoujh001
Copy link
Author

@zhangdaiscott 百万级的数据,我看后面3.2的版本里是做了优化,但是我们项目的版本是3.0的,替换这个jar包的新版本会有问题,启动不了。有针对这个版本的优化版本吗?

@zhoujh001
Copy link
Author

由于没有源码,自己覆盖类文件来重写比较麻烦

@zhangdaiscott
Copy link
Member

你可以整体升级

@zhoujh001
Copy link
Author

整体升级的话,改动就比较大了,项目目前功能比较多,不太好升级。算啦,还是不用这个在线表单的功能了

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