File tree 1 file changed +13
-2
lines changed
1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -91,12 +91,12 @@ See more details about ***messenger:consume*** command in consume message sectio
91
91
# # Consume Messages
92
92
Symfony messenger is used in order to run process via UI or schedule process
93
93
94
- *To consume process launched via UI make sure the following command is running*
94
+ * To consume process launched via UI make sure the following command is running*
95
95
` ` ` bash
96
96
bin/console messenger:consume execute_process
97
97
` ` `
98
98
99
- *To consume scheduled process make sure the following command is running*
99
+ * To consume scheduled process make sure the following command is running*
100
100
` ` ` bash
101
101
bin/console messenger:consume scheduler_cron
102
102
` ` `
@@ -144,6 +144,17 @@ killasgroup=true
144
144
stopasgroup=true
145
145
```
146
146
147
+ ## Troubleshooting
148
+
149
+ ### PHP Fatal error: Allowed memory size of xxx bytes exhausted
150
+
151
+ When `store_in_database` option is set, with lower value of `database_level` option, the process may generate many LogRecord.
152
+ On debug environment, profiling too much queries cause memory exhaustion. So, you can :
153
+ - Set `doctrine.dbal.profiling_collect_backtrace: false`
154
+ - Increase `memory_limit` in php.ini
155
+ - Set `clever_age_ui_process.logs.store_in_database: false` or improve value of `clever_age_ui_process.logs.database_level`
156
+ - Use `--no-debug` flag for `cleverage:process:execute`
157
+
147
158
## Reference
148
159
149
160
_TODO_
You can’t perform that action at this time.
0 commit comments