Skip to content

Commit b60716a

Browse files
committed
Issue #50: Major refactoring
Added option to increase memory limit Signed-off-by: alexmerlin <alex.merlin.1985@gmail.com>
1 parent 8f0651f commit b60716a

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

docs/book/v3/manage-geolite2-database.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,14 @@ php bin/cli.php geoip:synchronize --help
2929
```
3030

3131
> If you set up the synchronizer command as a cronjob, you can add the `-q|--quiet` option, and it will output data only if an error has occurred.
32+
33+
## Memory limit
34+
35+
By default, the synchronizer command will use up to 128MB of memory.
36+
If it happens to need more memory, you can increase the memory limit by providing the `memory-limit` option when calling the command:
37+
38+
```shell
39+
php bin/cli.php geoip:synchronize --memory-limit 256M
40+
```
41+
42+
You can specify the memory limit in the following formats: `128M`, `1G`, `1024M`, etc.

0 commit comments

Comments
 (0)