We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Running into error: 👇
Downloads $ geojson2osm pre_roads.geojson > pre_roads.osm FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory 1: node::Abort() [/Users/ruben/.nvm/versions/node/v8.11.3/bin/node] 2: node::FatalException(v8::Isolate*, v8::Local<v8::Value>, v8::Local<v8::Message>) [/Users/ruben/.nvm/versions/node/v8.11.3/bin/node] 3: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [/Users/ruben/.nvm/versions/node/v8.11.3/bin/node] 4: v8::internal::Factory::NewRawTwoByteString(int, v8::internal::PretenureFlag) [/Users/ruben/.nvm/versions/node/v8.11.3/bin/node] 5: v8::internal::String::SlowFlatten(v8::internal::Handle<v8::internal::ConsString>, v8::internal::PretenureFlag) [/Users/ruben/.nvm/versions/node/v8.11.3/bin/node] 6: v8::String::WriteUtf8(char*, int, int*, int) const [/Users/ruben/.nvm/versions/node/v8.11.3/bin/node] 7: node::StringBytes::Write(v8::Isolate*, char*, unsigned long, v8::Local<v8::Value>, node::encoding, int*) [/Users/ruben/.nvm/versions/node/v8.11.3/bin/node] 8: node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding) [/Users/ruben/.nvm/versions/node/v8.11.3/bin/node] 9: node::Buffer::(anonymous namespace)::CreateFromString(v8::FunctionCallbackInfo<v8::Value> const&) [/Users/ruben/.nvm/versions/node/v8.11.3/bin/node] 10: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&)) [/Users/ruben/.nvm/versions/node/v8.11.3/bin/node] 11: v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, v8::internal::BuiltinArguments) [/Users/ruben/.nvm/versions/node/v8.11.3/bin/node] 12: v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) [/Users/ruben/.nvm/versions/node/v8.11.3/bin/node] 13: 0x3fed517042fd Abort trap: 6
The text was updated successfully, but these errors were encountered:
To solve it we may need to use --max-old-space-size=8192 cli.js
--max-old-space-size=8192 cli.js
E.g
node --max-old-space-size=8192 cli.js ~/Downloads/pre_roads.geojson > ~/Downloads/pre_roads.osm
Sorry, something went wrong.
No branches or pull requests
Running into error: 👇
The text was updated successfully, but these errors were encountered: