mochi / egeoip

Erlang IP Geolocation module, currently supporting the MaxMind GeoLite City Database.
Other
95 stars 57 forks source link

Quite big memory footprint. Is this normal? #13

Closed loxs closed 9 years ago

loxs commented 9 years ago

I just started using egeoip and the reserved memory of the erlang VM went up from ~60MB to ~270MB on 64 bit erlang 17.3

Not that it's a huge problem, just asking if it's normal.

etrepum commented 9 years ago

That doesn't sound bad. The database is read into memory. It would be a problem if it kept growing but the cost to use it should be relatively constant past that.

loxs commented 9 years ago

thanks for the clarification