diff options
| author | Denis Ledoux <dle@odoo.com> | 2018-10-16 15:04:10 +0000 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2018-10-16 15:37:40 +0000 |
| commit | 3823dcacef1515f1b38baa0f9b31c1a1832a007d (patch) | |
| tree | 82849ac2590b8b52b5d757753df8fa518a2326dc /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 574450bad8c3d57a5a151e8dcadcebfdcbb658b1 (diff) | |
[FIX] http, server: cross-platform memory limit management
This revision aims to support the memory limits
on Linux, Windows and MacOSX according to their own spefication
regarding their memory management.
Among others, it brings the possibility to
use the multi-workers mode on Windows and MacOSX.
e.g.
- Windows does not support `resource`,
and therefore we skip to set the hard limit
- MacOSX allocates a large virtual memory for each process
even if the memory is not actually used,
and therefore using the VMS to limit the memory is pointless
as it will always exceeds the default soft memory limit.
We therefore choose to use the RSS to limit the memory
closes odoo/odoo#27848
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
