跳至内容
菜单
此问题已终结
1 回复
3859 查看

CPU:8
RAM:55G

odoo.conf:
limit_memory_hard = 1395864371
limit_memory_soft = 1358092426
limit_time_cpu = 5600
limit_time_real = 7400
max_cron_threads = 5
workers = 17

2019-09-10 01:08:19,079 74222 ERROR DB odoo.addons.base.ir.ir_cron: Call of self.env[u'procurement.order'].run_scheduler(*(True,)) failed in Job #5
Traceback (most recent call last):
  File "/opt/odoo/odoo/addons/base/ir/ir_cron.py", line 126, in _callback
    getattr(model, method_name)(*args)
  File "/opt/odoo/addons/stock/models/procurement.py", line 249, in run_scheduler
    self.sudo()._procure_orderpoint_confirm(use_new_cursor=use_new_cursor, company_id=company_id)
  File "/opt/custom_addons/custom_procurement/models/procurement.py", line 181, in _procure_orderpoint_confirm
    orderpoints_noprefetch = orderpoints_noprefetch[1000:]
  File "/opt/odoo/odoo/models.py", line 5253, in __getitem__
    return self._browse(self._ids[key], self.env)
  File "/opt/odoo/odoo/models.py", line 4822, in _browse
    prefetch[cls._name].update(ids)
MemoryError 


形象
丢弃
最佳答案

Hi, did you get the solution for this?

形象
丢弃
相关帖文 回复 查看 活动
1
3月 18
9571
1
9月 21
18108
2
12月 23
19499
0
8月 24
2664
3
12月 23
42889