RobThree/NGeoNames

Out of memory

Closed this issue ยท 4 comments

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);

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

image

Did this help?

@RobThree For me it did. Thank you !!

๐Ÿ‘ Then I'll consider this not-an-issue ๐Ÿ˜‰