diff --git a/newsfragments/+disable_odoo_memory_limit.feature b/newsfragments/+disable_odoo_memory_limit.feature new file mode 100644 index 0000000..dfd7337 --- /dev/null +++ b/newsfragments/+disable_odoo_memory_limit.feature @@ -0,0 +1,2 @@ +Disable default Odoo memory limit (of 2560 MiB) by default. +This can be adjusted in the `odoo.conf` file for each version. diff --git a/odoo_openupgrade_wizard/templates/odoo/odoo.conf.j2 b/odoo_openupgrade_wizard/templates/odoo/odoo.conf.j2 index 74eb2b7..7ed21f9 100644 --- a/odoo_openupgrade_wizard/templates/odoo/odoo.conf.j2 +++ b/odoo_openupgrade_wizard/templates/odoo/odoo.conf.j2 @@ -7,3 +7,7 @@ # - http or xml port # - etc. # Only non standard or special options should be specified here. + +[options] +# Disable default memory limit of 2560 MiB +limit_memory_hard = 0