Skip to content

Commit 501b2cd

Browse files
Merge pull request #50 from cleverage/47
#47 Add Troubleshooting section on documentation
2 parents 2303b33 + 41451d8 commit 501b2cd

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

docs/index.md

+13-2
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,12 @@ See more details about ***messenger:consume*** command in consume message sectio
9191
## Consume Messages
9292
Symfony messenger is used in order to run process via UI or schedule process
9393

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*
9595
```bash
9696
bin/console messenger:consume execute_process
9797
```
9898

99-
*To consume scheduled process make sure the following command is running*
99+
* To consume scheduled process make sure the following command is running*
100100
```bash
101101
bin/console messenger:consume scheduler_cron
102102
```
@@ -144,6 +144,17 @@ killasgroup=true
144144
stopasgroup=true
145145
```
146146
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+
147158
## Reference
148159
149160
_TODO_

0 commit comments

Comments
 (0)