RobThree / NGeoNames

Inspired by https://github.com/AReallyGoodName/OfflineReverseGeocode
MIT License
88 stars 22 forks source link

Out of memory #2

Closed Radzhab closed 6 years ago

Radzhab commented 7 years ago

I want get country by lan and lot. I try load allcountries.txt, but it rise error . Out memory


var nldata = GeoFileReader.ReadExtendedGeoNames(@"D:\allCountries.txt").ToArray(); 
var reversegeocoder = new ReverseGeoCode<ExtendedGeoName>(nldata);
var rez = reversegeocoder.CreateFromLatLong(50.064546356068, 40.587502313216);
RobThree commented 7 years ago

Is it a 32bit process? Tried 64bit? Make sure the prefer 32 bit option is off for the (debug/release) build:

image

RobThree commented 6 years ago

Did this help?

jacob8000 commented 6 years ago

@RobThree For me it did. Thank you !!

RobThree commented 6 years ago

👍 Then I'll consider this not-an-issue 😉