diff options
| author | Nathan de Pryck <nde@odoo.com> | 2018-12-04 08:34:10 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2018-12-04 09:54:00 +0000 |
| commit | 7386292bcea21bf9827816526efffab551a4a6cb (patch) | |
| tree | 851d9c01d31c8751728c62f94b5d77d1b6fbe6d8 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | cba55c12e469fb1d870b83762677a33c36227f60 (diff) | |
[FIX] account: access to aged receivable report leads to MemoryError
When analysing the code thanks to Pyflame it cames that the 'prefetch_fields()'
function was runing most of the time. In order to improve the global performance,
I change the context of the move_lines : 'prefetch_fields = False'. It permit to reduce the
time of computation of the prefetch_fields and to avoid the MemoryError.
N.B.: The database of the customer (on saas) contains 1.3 millions of entry and to reproduce the issue
I have to set the HardMemlimit to 0.9 Go and the SoftMemLimit to 0.5Go.
OPW-1910422
closes odoo/odoo#29231
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
