gpslab / geoip2

A Symfony Bundle for the Maxmind GeoIP2 API
https://www.maxmind.com/
MIT License
54 stars 12 forks source link

Reduce memory usage of geoip2:update #83

Closed mreiden closed 3 years ago

mreiden commented 3 years ago

Using \PharData to extract the database file causes an out of memory exception since July 22 for the GeoLite2-City database when using the default 128MB memory_limit on Fedora and other distributions. Use splitbrain/php-archive to reduce memory usage from 147MB to 18MB.

Solves https://github.com/gpslab/geoip2/issues/82

peter-gribanov commented 3 years ago

Released in v2.0.8