-
Notifications
You must be signed in to change notification settings - Fork 417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error loading address parser module errno:Not enough space windows #486
Comments
This is ENOMEM and refers to available RAM. |
I'm using windows 10 and i compiled using msys32 and i test the msys64 now, is there any solution for this problem? |
I used msys64, apart from that; having more memory available? |
how can I check, I have 16 GB ram iam using laptop lenovo Y5070 core I7 so i think for sure yes, i need more?? |
If using 32bit you need to run this to make it large address space aware: Lines 40 to 45 in 790e24b
If using 64bit make sure application and library are compiled as 64bit. Also check that RAM usage isn’t at 100% in task manager while the app is running. |
Thank you for the answer, but please can you tell me how to run it? using msys32? do i need to compile the library from begin or just run this will solve it? |
This is the powershell script that runs as part of the automated libpostal build. The important bit is the call to the ‘editbin.exe’ passing the ‘/LARGEADDRESSAWARE’ parameter followed by the .exe file you compile. This was also run against the .dll files too. This command run against the compiled .exe & .dlls allows windows programs to allocate over 2GB of memory in 32bit mode. |
I would recommend using msys64 launched from the msys64 start menu option to compile the library if your hardware supports 64bit |
it worked Thank you very much I use this command this editbin found in visual c++ C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin it worked thank you very much, and sure I will make a 64 compile |
I compiled libpostal library and followed the instruction for windows and everything looks good and everything looks download correctly the data file that contains address_expansions, address_parser, ..etc is downloaded completely with size of 1.84 GB then i use the sample code for libpostal, after i link the library in QT IDE using
then I use this code to set the datadir and parser datadir then simple example of parse address
but I got this error
so what i did wrong, I have for sure space on my disk more than 100GB and i still got this error.
The text was updated successfully, but these errors were encountered: