chairemobilite / transition

Transition is a modern new approach to transit planning. It's a web application to model, simulate and plan public transit and alternative transportation.
http://transition.city
MIT License
23 stars 13 forks source link

out of memory error #873

Open greenscientist opened 8 months ago

greenscientist commented 8 months ago

2024-03-11T18:49:05.942542798Z 2024-03-11T18:49:05.942602924Z <--- Last few GCs ---> 2024-03-11T18:49:05.942606436Z 2024-03-11T18:49:05.942612745Z [383:0x6d93870] 69276628 ms: Scavenge 4018.0 (4106.9) -> 4017.7 (4114.9) MB, 21.2 / 0.0 ms (average mu = 0.195, current mu = 0.154) allocation failure; 2024-03-11T18:49:05.942616188Z [383:0x6d93870] 69276739 ms: Scavenge 4028.2 (4114.9) -> 4027.5 (4114.9) MB, 38.4 / 0.0 ms (average mu = 0.195, current mu = 0.154) allocation failure; 2024-03-11T18:49:05.942619058Z [383:0x6d93870] 69276818 ms: Scavenge 4030.2 (4115.6) -> 4029.4 (4137.4) MB, 61.3 / 0.0 ms (average mu = 0.195, current mu = 0.154) allocation failure; 2024-03-11T18:49:05.942621836Z 2024-03-11T18:49:05.942624704Z 2024-03-11T18:49:05.942627577Z <--- JS stacktrace ---> 2024-03-11T18:49:05.942630186Z 2024-03-11T18:49:05.942634728Z FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory 2024-03-11T18:49:05.951699818Z 1: 0xb95be0 node::Abort() [/usr/local/bin/node] 2024-03-11T18:49:05.952381084Z 2: 0xa9a7f8 [/usr/local/bin/node] 2024-03-11T18:49:05.953591881Z 3: 0xd6f5b0 v8::Utils::ReportOOMFailure(v8::internal::Isolate, char const, bool) [/usr/local/bin/node] 2024-03-11T18:49:05.954409498Z 4: 0xd6f957 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate, char const, bool) [/usr/local/bin/node] 2024-03-11T18:49:05.955326514Z 5: 0xf4ceb5 [/usr/local/bin/node] 2024-03-11T18:49:05.956256223Z 6: 0xf4ddb8 v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [/usr/local/bin/node] 2024-03-11T18:49:05.957186733Z 7: 0xf5e2b3 [/usr/local/bin/node] 2024-03-11T18:49:05.958602832Z 8: 0xf5f128 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/local/bin/node] 2024-03-11T18:49:05.959601137Z 9: 0xf39a7e v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/usr/local/bin/node] 2024-03-11T18:49:05.960543355Z 10: 0xf3ae47 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/usr/local/bin/node] 2024-03-11T18:49:05.961499731Z 11: 0xf1bcc2 v8::internal::Factory::New(v8::internal::Handle, v8::internal::AllocationType) [/usr/local/bin/node] 2024-03-11T18:49:05.962892521Z 12: 0xf2a07f v8::internal::Factory::NewLoadHandler(int, v8::internal::AllocationType) [/usr/local/bin/node] 2024-03-11T18:49:05.963879965Z 13: 0xfeb47f v8::internal::LoadHandler::LoadFromPrototype(v8::internal::Isolate, v8::internal::Handle, v8::internal::Handle, v8::internal::Handle, v8::internal::MaybeObjectHandle, v8::internal::MaybeObjectHandle) [/usr/local/bin/node] 2024-03-11T18:49:05.964846004Z 14: 0xff0892 v8::internal::LoadIC::ComputeHandler(v8::internal::LookupIterator) [/usr/local/bin/node] 2024-03-11T18:49:05.965829457Z 15: 0xff7134 v8::internal::LoadIC::UpdateCaches(v8::internal::LookupIterator) [/usr/local/bin/node] 2024-03-11T18:49:05.966883921Z 16: 0xff7a2b v8::internal::LoadIC::Load(v8::internal::Handle, v8::internal::Handle, bool, v8::internal::Handle) [/usr/local/bin/node] 2024-03-11T18:49:05.967824517Z 17: 0xffc793 v8::internal::Runtime_LoadIC_Miss(int, unsigned long, v8::internal::Isolate*) [/usr/local/bin/node] 2024-03-11T18:49:05.969065556Z 18: 0x170e079 [/usr/local/bin/node] error Command failed. 2024-03-11T18:49:06.451125667Z Exit signal: SIGABRT 2024-03-11T18:49:06.451131939Z Command: /usr/local/bin/node 2024-03-11T18:49:06.451135533Z Arguments: -r ../../tracing.js --max-old-space-size=4096 lib/server.js 2024-03-11T18:49:06.451138379Z Directory: /app/packages/transition-backend 2024-03-11T18:49:06.451144134Z Output: 2024-03-11T18:49:06.451146825Z info Visit https://yarnpkg.com/en/docs/cli/node for documentation about this command. error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. error Command failed. 2024-03-11T18:49:06.520665624Z Exit code: 1 2024-03-11T18:49:06.520671239Z Command: /usr/local/bin/node 2024-03-11T18:49:06.520676279Z Arguments: /opt/yarn-v1.22.19/lib/cli.js run start:tracing 2024-03-11T18:49:06.520680522Z Directory: /app/packages/transition-backend 2024-03-11T18:49:06.520684988Z Output: 2024-03-11T18:49:06.520688948Z info Visit https://yarnpkg.com/en/docs/cli/workspace for documentation about this command. error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

greenscientist commented 8 months ago

This was happening when trying to do a GTFS export of multiple copy of an agency of the size of the STM