laravel-geoip icon indicating copy to clipboard operation
laravel-geoip copied to clipboard

geoip:update with maxmind_database uses too much memory

Open jordanade opened this issue 2 years ago • 0 comments

I get:

PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 36864 bytes) in /var/app/current/vendor/torann/geoip/src/Services/MaxMindDatabase.php on line 78
PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 131072 bytes) in /var/app/current/vendor/sentry/sentry/src/HttpClient/Plugin/GzipEncoderPlugin.php on line 53

Perhaps we could use https://github.com/splitbrain/php-archive to reduce memory use?

jordanade avatar Mar 09 '22 23:03 jordanade