zdavatz / ypm

ywesee Pharma Monitor
GNU General Public License v3.0
2 stars 0 forks source link

ypm crash #12

Open zdavatz opened 4 years ago

zdavatz commented 4 years ago

ypm_crash_2020-07-28 at 19 15 54

Progress Keyword detected:  [ 'coronavirus' ]
Skipped: No Keyword nor, country is captured CDC: 73 percent of kids with coronavirus-related inflammatory condition were previously healthy
Skipped: No Keyword nor, country is captured ByteDance AI research head to leave as pressure mounts on TikTok
Progress Keyword detected:  [ 'COVID' ]
Skipped: No Keyword nor, country is captured Can Your Marketplace Company Survive COVID-19? New Battery Growth Metrics Can Help
Progress Keyword detected:  [ 'antibody' ]

<--- Last few GCs --->

[24952:0x37891b0] 602356722 ms: Mark-sweep 1922.3 (2074.8) -> 1914.7 (2079.2) MB, 1134.5 / 2.4 ms  (average mu = 0.189, current mu = 0.111) allocation failure scavenge might not succeed
[24952:0x37891b0] 602358177 ms: Mark-sweep 1927.5 (2080.2) -> 1905.9 (2079.5) MB, 1243.1 / 1.4 ms  (average mu = 0.168, current mu = 0.146) allocation failure scavenge might not succeed

<--- JS stacktrace --->

==== JS stack trace =========================================

    0: ExitFrame [pc: 0x132d76d]
Security context: 0x17b3e08c08d1 <JSObject>
    1: _write [0x10f13db4a461] [net.js:~791] [pc=0x3cec8868545](this=0x0898ea64fe29 <Socket map = 0x7c619439aa9>,0x358b60e33c41 <String[230]\: \x1b[31mSkipped: No Keyword nor, country is captured\x1b[39m \nOrphan designation: Humanised Fc engineered monoclonal antibody against CD19, active ingredient tafasitamab, Treatment of diffuse large B-cell lymphoma, 15/01/...

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
 1: 0x9ef190 node::Abort() [/home/zeno/.meteor/packages/meteor-tool/.1.10.2.qjbnm3.a9yb++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node]
 2: 0x9f13b2 node::OnFatalError(char const*, char const*) [/home/zeno/.meteor/packages/meteor-tool/.1.10.2.qjbnm3.a9yb++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node]
 3: 0xb5da9e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/home/zeno/.meteor/packages/meteor-tool/.1.10.2.qjbnm3.a9yb++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node]
 4: 0xb5de19 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/home/zeno/.meteor/packages/meteor-tool/.1.10.2.qjbnm3.a9yb++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node]
 5: 0xd0a765  [/home/zeno/.meteor/packages/meteor-tool/.1.10.2.qjbnm3.a9yb++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node]
 6: 0xd0adf6 v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [/home/zeno/.meteor/packages/meteor-tool/.1.10.2.qjbnm3.a9yb++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node]
 7: 0xd1760a v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/home/zeno/.meteor/packages/meteor-tool/.1.10.2.qjbnm3.a9yb++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node]
 8: 0xd18515 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/home/zeno/.meteor/packages/meteor-tool/.1.10.2.qjbnm3.a9yb++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node]
 9: 0xd1afcc v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/home/zeno/.meteor/packages/meteor-tool/.1.10.2.qjbnm3.a9yb++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node]
10: 0xce931d v8::internal::Factory::NewRawTwoByteString(int, v8::internal::AllocationType) [/home/zeno/.meteor/packages/meteor-tool/.1.10.2.qjbnm3.a9yb++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node]
11: 0xf28f25 v8::internal::String::SlowFlatten(v8::internal::Isolate*, v8::internal::Handle<v8::internal::ConsString>, v8::internal::AllocationType) [/home/zeno/.meteor/packages/meteor-tool/.1.10.2.qjbnm3.a9yb++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node]
12: 0xb5ccfb v8::internal::String::Flatten(v8::internal::Isolate*, v8::internal::Handle<v8::internal::String>, v8::internal::AllocationType) [/home/zeno/.meteor/packages/meteor-tool/.1.10.2.qjbnm3.a9yb++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node]
13: 0xb714cb v8::String::WriteUtf8(v8::Isolate*, char*, int, int*, int) const [/home/zeno/.meteor/packages/meteor-tool/.1.10.2.qjbnm3.a9yb++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node]
14: 0xab583b node::StringBytes::Write(v8::Isolate*, char*, unsigned long, v8::Local<v8::Value>, node::encoding, int*) [/home/zeno/.meteor/packages/meteor-tool/.1.10.2.qjbnm3.a9yb++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node]
15: 0xaa9f1d int node::StreamBase::WriteString<(node::encoding)1>(v8::FunctionCallbackInfo<v8::Value> const&) [/home/zeno/.meteor/packages/meteor-tool/.1.10.2.qjbnm3.a9yb++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node]
16: 0xaaaade void node::StreamBase::JSMethod<&(int node::StreamBase::WriteString<(node::encoding)1>(v8::FunctionCallbackInfo<v8::Value> const&))>(v8::FunctionCallbackInfo<v8::Value> const&) [/home/zeno/.meteor/packages/meteor-tool/.1.10.2.qjbnm3.a9yb++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node]
17: 0x132d76d  [/home/zeno/.meteor/packages/meteor-tool/.1.10.2.qjbnm3.a9yb++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node]
Exited from signal: SIGABRT
Your application is crashing. Waiting for file change.
hamzamu commented 4 years ago

TOOL_NODE_FLAGS is used by the Meteor Tool and only applies to #1. You want to modify the --max-old-space-size for #2, which uses the NODE_OPTIONS environment variable instead.

export TOOL_NODE_FLAGS="--max_old_space_size=4096"
zdavatz commented 4 years ago

where do I set this?

zdavatz commented 4 years ago

I will put it in my .bashrc file

zdavatz commented 4 years ago

WhatsApp Image 2020-08-05 at 18 50 52