gpt4 book ai didi

ora2pg 内存不足错误 - 在每个表之后

转载 作者:行者123 更新时间:2023-12-04 01:42:05 38 4
gpt4 key购买 nike

当我尝试导出数据时,无论表大小如何(甚至是空表),它都会耗尽内存。

Out of memory!            ]    162926/498508267 rows (0.0%) on total estimated data (14 sec., avg: 11637 recs/sec)
Issuing rollback() due to DESTROY without explicit disconnect() of DBD::Oracle::db handle (DESCRIPTION=(ADDRESS=(PORT=1521)(HOST=192.168.0.42)
(PROTOCOL=tcp))(CONNECT_DATA=(SID=orcl))) at
/usr/local/lib/perl/5.18.2/DBD/Oracle.pm line 348.

最佳答案

问了作者,我得到了这样的答复:

You don't have enough memory. If you can't increase the memory size than reduce the value of DATA_LIMIT in ora2pg.conf. Try with 5000 and if it doesn't works use 2500.



已开通 ./config/ora2pg.conf和修改集 DATA_LIMIT 5000解决了这个问题。

我最初尝试添加更多 RAM,但仅将其从 2GB 增加到 4GB,但没有帮助。减少 DATA_LIMIT是解决方案。

关于ora2pg 内存不足错误 - 在每个表之后,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46137450/

38 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com