geocoder-php / Geocoder

The most featured Geocoder library written in PHP.
https://geocoder-php.org
MIT License
3.95k stars 519 forks source link

Allowed memory size exhausted #811

Closed ghost closed 6 years ago

ghost commented 6 years ago

I get a php error "Allowed memory size of x bytes exhausted", if I try to geocode an address like "asdd21f2fdwf9, 2fj12djl12dl1 2kdj1l2d12d2".

Is there a way to catch this error?

Nyholm commented 6 years ago

What provider are you using?

ghost commented 6 years ago

I'm using the ProviderAggregator with just one registered provider (GoogleMaps)

ghost commented 6 years ago

Do you have a solution? :)

Nyholm commented 6 years ago

Im not sure at all. Could you debug this a bit more. Does it get stuck in a loop?

ghost commented 6 years ago

Ok I'm really sorry to inform you that i ran into an endless loop in my application which triggers the error. Everything works fine. Thanks for the hint and the fast response!