diff --git a/docs/PERFORMANCE.md b/docs/PERFORMANCE.md
index abf779db7..8abd4d349 100755
--- a/docs/PERFORMANCE.md
+++ b/docs/PERFORMANCE.md
@@ -26,6 +26,10 @@ A large database or oversized log files can impact performance. You can check da
> * No table should exceed **10,000 rows** in a healthy system.
> * Actual values vary based on network activity and plugin settings.
+Please note that excessively large log files will increase memory consumption. Decrease `MAINT_LOG_LENGTH` if you want to optimize memory use and increase it when debugging issues. See below chart on memory use after logs cleanup.
+
+
+
---
## Maintenance Plugins
diff --git a/docs/img/PERFORMANCE/logs_memory_usage.png b/docs/img/PERFORMANCE/logs_memory_usage.png
new file mode 100644
index 000000000..13376362b
Binary files /dev/null and b/docs/img/PERFORMANCE/logs_memory_usage.png differ
diff --git a/front/plugins/maintenance/config.json b/front/plugins/maintenance/config.json
index b69e6a2da..7124e30b3 100755
--- a/front/plugins/maintenance/config.json
+++ b/front/plugins/maintenance/config.json
@@ -228,7 +228,7 @@
}
]
},
- "default_value": 250000,
+ "default_value": 10000,
"options": [],
"localized": ["name", "description"],
"name": [
@@ -240,7 +240,7 @@
"description": [
{
"language_code": "en_us",
- "string": "How many last app.log lines to keep. If LOG_LEVEL is set to debug the app generates about 10000 lines per hour, so when debugging an issue the recommended setting should cover the bug occurence timeframe. For example for a bug with a 3 day periodical appearence the value 1000000 should be sufficient. Setting this value to 1000000 generates approximatelly a 50MB app.log file. Set to 0 to disable log purging."
+ "string": "How many log entries to keep. When LOG_LEVEL is set to debug, the application generates about 10,000 log entries per hour. Choose a value that covers the expected bug occurrence window. For example, 1000000 lines (~50 MB) is typically sufficient for issues that occur every 3 days. Set to 0 to disable log purging. Larger log files increase memory usage, so reduce the value after debugging is complete."
}
]
},