{"action":"opened","issue":{"url":"https://api.github.com/repos/ArkEcosystem/core/issues/1553","repository_url":"https://api.github.com/repos/ArkEcosystem/core","labels_url":"https://api.github.com/repos/ArkEcosystem/core/issues/1553/labels{/name}","comments_url":"https://api.github.com/repos/ArkEcosystem/core/issues/1553/comments","events_url":"https://api.github.com/repos/ArkEcosystem/core/issues/1553/events","html_url":"https://github.com/ArkEcosystem/core/issues/1553","id":386484808,"node_id":"MDU6SXNzdWUzODY0ODQ4MDg=","number":1553,"title":"Node.js memory limit","user":{"login":"zillionn","id":3462869,"node_id":"MDQ6VXNlcjM0NjI4Njk=","avatar_url":"https://avatars0.githubusercontent.com/u/3462869?v=4","gravatar_id":"","url":"https://api.github.com/users/zillionn","html_url":"https://github.com/zillionn","followers_url":"https://api.github.com/users/zillionn/followers","following_url":"https://api.github.com/users/zillionn/following{/other_user}","gists_url":"https://api.github.com/users/zillionn/gists{/gist_id}","starred_url":"https://api.github.com/users/zillionn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zillionn/subscriptions","organizations_url":"https://api.github.com/users/zillionn/orgs","repos_url":"https://api.github.com/users/zillionn/repos","events_url":"https://api.github.com/users/zillionn/events{/privacy}","received_events_url":"https://api.github.com/users/zillionn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-01T18:39:43Z","updated_at":"2018-12-01T18:39:43Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"**Is your feature request related to a problem? Please describe.**\r\nI believe the default Node.js memory limit is 1GB:\r\n\r\n> 2|ark-core-forger  | <--- Last few GCs --->\r\n2|ark-core-forger  | [4162:0x256e090] 18280622 ms: Mark-sweep 1346.8 (1440.7) -> 1328.8 (1437.2) MB, 2207.0 / 0.0 ms  (average mu = 0.314, current mu = 0.294) allocation failure scavenge might not succeed\r\n2|ark-core-forger  | [4162:0x256e090] 18281042 ms: Scavenge 1343.2 (1437.2) -> 1336.5 (1439.2) MB, 20.9 / 0.0 ms  (average mu = 0.314, current mu = 0.294) allocation failure\r\n2|ark-core-forger  | [4162:0x256e090] 18281263 ms: Scavenge 1345.8 (1439.2) -> 1341.2 (1445.7) MB, 25.1 / 0.0 ms  (average mu = 0.314, current mu = 0.294) allocation failure\r\n2|ark-core-forger  | <--- JS stacktrace --->\r\n2|ark-core-forger  | ==== JS stack trace =========================================\r\n2|ark-core-forger  | Security context: 0x0dcd94b9e6e1 <JSObject>\r\n2|ark-core-forger  |     0: builtin exit frame: defineProperty(this=0x0dcd94b84631 <JSFunction Object (sfi = 0x1de45218e301)>,0x2707a316b421 <Object map = 0x3b0e8db0f671>,0x22dd4aae7431 <String[5]: level>,0x2707a316b3b9 <JSFunction builder (sfi = 0xd08c0b7bc31)>,0x0dcd94b84631 <JSFunction Object (sfi = 0x1de45218e301)>)\r\n2|ark-core-forger  |     1: build [0x3c086113f899] [/home/mak/ark-core/node_modules/chalk/index.js:~119] [pc=0x167e4f...\r\n2|ark-core-forger  | FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory\r\n2|ark-core-forger  |  1: 0x8dbaa0 node::Abort() [node /home/mak/ark-core/packages/core/bin/ark]\r\n2|ark-core-forger  |  2: 0x8dbaec  [node /home/mak/ark-core/packages/core/bin/ark]\r\n2|ark-core-forger  |  3: 0xad83de v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node /home/mak/ark-core/packages/core/bin/ark]\r\n2|ark-core-forger  |  4: 0xad8614 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node /home/mak/ark-core/packages/core/bin/ark]\r\n2|ark-core-forger  |  5: 0xec5c42  [node /home/mak/ark-core/packages/core/bin/ark]\r\n2|ark-core-forger  |  6: 0xec5d48 v8::internal::Heap::CheckIneffectiveMarkCompact(unsigned long, double) [node /home/mak/ark-core/packages/core/bin/ark]\r\n2|ark-core-forger  |  7: 0xed1e22 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [node /home/mak/ark-core/packages/core/bin/ark]\r\n2|ark-core-forger  |  8: 0xed2754 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node /home/mak/ark-core/packages/core/bin/ark]\r\n2|ark-core-forger  |  9: 0xed53c1 v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [node /home/mak/ark-core/packages/core/bin/ark]\r\n2|ark-core-forger  | 10: 0xe9e4b6 v8::internal::Factory::AllocateRawArray(int, v8::internal::PretenureFlag) [node /home/mak/ark-core/packages/core/bin/ark]\r\n2|ark-core-forger  | 11: 0xe9ed3a v8::internal::Factory::NewFixedArrayWithFiller(v8::internal::Heap::RootListIndex, int, v8::internal::Object*, v8::internal::PretenureFlag) [node /home/mak/ark-core/packages/core/bin/ark]\r\n2|ark-core-forger  | 12: 0xe9ede0 v8::internal::Handle<v8::internal::FixedArray> v8::internal::Factory::NewFixedArrayWithMap<v8::internal::FixedArray>(v8::internal::Heap::RootListIndex, int, v8::internal::PretenureFlag) [node /home/mak/ark-core/packages/core/bin/ark]\r\n2|ark-core-forger  | 13: 0xfde2f9 v8::internal::HashTable<v8::internal::NameDictionary, v8::internal::NameDictionaryShape>::New(v8::internal::Isolate*, int, v8::internal::PretenureFlag, v8::internal::MinimumCapacity) [node /home/mak/ark-core/packages/core/bin/ark]\r\n2|ark-core-forger  | 14: 0xfde359 v8::internal::BaseNameDictionary<v8::internal::NameDictionary, v8::internal::NameDictionaryShape>::New(v8::internal::Isolate*, int, v8::internal::PretenureFlag, v8::internal::MinimumCapacity) [node /home/mak/ark-core/packages/core/bin/ark]\r\n2|ark-core-forger  | 15: 0x10037be v8::internal::JSObject::MigrateToMap(v8::internal::Handle<v8::internal::JSObject>, v8::internal::Handle<v8::internal::Map>, int) [node /home/mak/ark-core/packages/core/bin/ark]\r\n2|ark-core-forger  | 16: 0xfb6f12 v8::internal::LookupIterator::TransitionToAccessorProperty(v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes) [node /home/mak/ark-core/packages/core/bin/ark]\r\n2|ark-core-forger  | 17: 0xfcc86b v8::internal::JSObject::DefineAccessor(v8::internal::LookupIterator*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes) [node /home/mak/ark-core/packages/core/bin/ark]\r\n2|ark-core-forger  | 18: 0xff37f0 v8::internal::JSReceiver::ValidateAndApplyPropertyDescriptor(v8::internal::Isolate*, v8::internal::LookupIterator*, bool, v8::internal::PropertyDescriptor*, v8::internal::PropertyDescriptor*, v8::internal::ShouldThrow, v8::internal::Handle<v8::internal::Name>) [node /home/mak/ark-core/packages/core/bin/ark]\r\n2|ark-core-forger  | 19: 0xffaee6 v8::internal::JSReceiver::OrdinaryDefineOwnProperty(v8::internal::LookupIterator*, v8::internal::PropertyDescriptor*, v8::internal::ShouldThrow) [node /home/mak/ark-core/packages/core/bin/ark]\r\n2|ark-core-forger  | 20: 0xffb388 v8::internal::JSReceiver::OrdinaryDefineOwnProperty(v8::internal::Isolate*, v8::internal::Handle<v8::internal::JSObject>, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyDescriptor*, v8::internal::ShouldThrow) [node /home/mak/ark-core/packages/core/bin/ark]\r\n2|ark-core-forger  | 21: 0x100a9f2 v8::internal::JSReceiver::DefineOwnProperty(v8::internal::Isolate*, v8::internal::Handle<v8::internal::JSReceiver>, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyDescriptor*, v8::internal::ShouldThrow) [node /home/mak/ark-core/packages/core/bin/ark]\r\n2|ark-core-forger  | 22: 0x100afcd v8::internal::JSReceiver::DefineProperty(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>) [node /home/mak/ark-core/packages/core/bin/ark]\r\n2|ark-core-forger  | 23: 0xbaf964 v8::internal::Builtin_ObjectDefineProperty(int, v8::internal::Object**, v8::internal::Isolate*) [node /home/mak/ark-core/packages/core/bin/ark]\r\n2|ark-core-forger  | 24: 0x167e4e2dbf7d\r\n\r\n**Describe the solution you'd like**\r\nHow about to increase the memory limit using `--max-old-space-size` setting?\r\n"}}
{"actor":{"display_login":"zillionn"}}