diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2020-04-16 18:28:21 +0000 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2020-04-23 13:02:33 +0000 |
| commit | 7be90d25e668b8620871b0d79e5b0ca1a5a671be (patch) | |
| tree | c88ddf920bb3e463d8d773bd50382fb6e80f2cef /addons/website_mass_mailing/static | |
| parent | e2abbdcc594090de024cfef254367f15760e174d (diff) | |
[FIX] mail: lower RAM usage of mail.message().search(limit=None)
On an instance with 4 million messages, opening Settings > Technical >
Messages could increase residual memory usage in a given situation usage
by:
- 1.5 GB for odoo
- 3 GB for postgresql (a part might just be cache depending on config)
With this change breaking the request in several ones, increase is:
- 0.5 GB for odoo (for the millions of ids in dictionaries and list)
- 0.1 GB for postgresql
opw-2232065
closes #49689
closes odoo/odoo#50079
X-original-commit: 04e5b9f397e7fc752e9910c58eea589420b83a63
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Diffstat (limited to 'addons/website_mass_mailing/static')
0 files changed, 0 insertions, 0 deletions
