Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
3926 Prikazi

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
Opusti
Best Answer

Hi, did you get the solution for this?

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
mar. 18
9629
1
sep. 21
18175
2
dec. 23
19590
0
avg. 24
2798
3
dec. 23
43049