Closed IReese closed 5 years ago
Resolved. At least on our end.
Under dependencies in the package.json
, I updated the mapnik version to instead use "mapnik": "~3.7.2"
' before I installed.
Then I installed Tilemill using node4.9.1
nvm use 4.9.1
npm install
Looks like this was in issue a while back in Mapnik:
https://github.com/mapnik/mapnik/issues/3822 https://github.com/mapnik/mapnik/pull/3872
but resolved in Mapnik v3.7.2
I recently had to reinstall Tilemill on my Ubuntu 16.04 machine. I had to make upgrade my node and nodejs versions to be compatible with some newer software i was running. When I updated node and nodejs, Tilemill would no longer launch using the terminal command:
./index.js
I reinstalled Tilemill using the standard install with one modification:
The install works, Tilemill is running,however when I am using Tilemill, I get an error when trying to load large rasters (>10GB) or vrts.
Three scenarios happen when I attempt to load a large raster:
Message: console message: http://127.0.0.1:20009/assets/bones/all.js @5571: Invalid width for image dimensions requested
I've tried a number of solutions so far but none have worked:
NODE_OPTIONS="--max_old_space_size=8192" nvm run 4.9.1 ./index.js
See successful installation process with source builds here: https://gist.github.com/IReese/7820ebf65e41335beaccd613ab752404
I am at a loss of what to do anymore. It seems like it is a memory issue. I never had this problem before and Tilemill ran seamlessly until recently.
Any ideas where to go next?