Comments (3)
Looks like the split files are too big for your Homestead set up.
Look inside:
https://github.com/michaeldrennen/Geonames/blob/master/src/Console/AlternateName.php
I set the lines per split file as a constant at the top of that file.
Run a test on your Homestead install where you manually edit that const value before you run the install command.
Lower it to 1000 for starters.
If that solves your problem, then I can add lines per split file as an option for the install command.
from geonames.
I was experiencing a similar issue using WampServer during the alternate names import. The culprit was "DB::enableQueryLog();" on line 389 of the AlternateNames.php file mentioned above. The query logging was generating memory for each record created until it reached critical failure. Commenting out/removing line 389 fixed the issue.
from geonames.
@tpelham42 Bingo. I'll remove that in the next release.
from geonames.
Related Issues (20)
- Will not install on laravel 6.4 HOT 2
- Error when running route:cache HOT 3
- "1071 Specified key was too long" will never be resolved with Schema::defaultStringLength(191) HOT 3
- Laravel 7 support ? HOT 4
- primaryKey issue HOT 1
- Laravel 7 not supporting HOT 3
- Foreign keys HOT 3
- Feature request - Countryinfo table HOT 1
- geonames:install doesn't pass through database connection to all subsequent calls HOT 2
- Very minor: typo in directory name `src\Oberservers`
- PHP requirement mismatch with Laravel HOT 1
- Problems with backslash (Windows, DIRECTORY_SEPARATOR) HOT 6
- Geonames updates - Alternate names ? HOT 6
- Invalid utf8 character string HOT 2
- Misuse of env HOT 1
- PHP 8 support ? HOT 3
- Zipcodes
- laravel 9 HOT 4
- Question - Is it possible to add countries without deleting existing ones ?
- Laravel version 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geonames.