Skip to Content
Menu
This question has been flagged
1 Odpoveď
3893 Zobrazenia

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 


Avatar
Zrušiť
Best Answer

Hi, did you get the solution for this?

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
1
mar 18
9604
1
sep 21
18149
2
dec 23
19559
0
aug 24
2743
3
dec 23
42995