You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to convert a 800MB shapefile to TopoJSON format, topojson -q 1e4 -s 1e-8 -p zip=ZCTA5CE10 -o zips_us_topo_zc.json tl_2012_us_zcta510.shp
Every time, when the node memory exceeds 1.99G, it terminated. And shows the information:
FATAL ERROR: CALL_AND_RETRY_2 Allocation failed - process out of memory
Abort trap: 6
To change the max stack size, I have tried topojson -q 1e4 -s 1e-8 -p zip=ZCTA5CE10 -o zips_us_topo_zc.json tl_2012_us_zcta510.shp --max-stack-size=10737418240 or topojson -q 1e4 -s 1e-8 -p zip=ZCTA5CE10 -o zips_us_topo_zc.json tl_2012_us_zcta510.shp --stack-size=10737418240 , but none of them work.
Local Enviroment:
node v0.10.26
topojson v1.6.9
Is there a way I can add the memory for topojson or other ways to convert these kind large files to topojson format? Thanks!
The text was updated successfully, but these errors were encountered:
I'm trying to convert a 800MB shapefile to TopoJSON format,
topojson -q 1e4 -s 1e-8 -p zip=ZCTA5CE10 -o zips_us_topo_zc.json tl_2012_us_zcta510.shp
Every time, when the node memory exceeds 1.99G, it terminated. And shows the information:
To change the max stack size, I have tried
topojson -q 1e4 -s 1e-8 -p zip=ZCTA5CE10 -o zips_us_topo_zc.json tl_2012_us_zcta510.shp --max-stack-size=10737418240
ortopojson -q 1e4 -s 1e-8 -p zip=ZCTA5CE10 -o zips_us_topo_zc.json tl_2012_us_zcta510.shp --stack-size=10737418240
, but none of them work.Local Enviroment:
Is there a way I can add the memory for topojson or other ways to convert these kind large files to topojson format? Thanks!
The text was updated successfully, but these errors were encountered: