Rich-Harris / butternut

The fast, future-friendly minifier
https://butternut.now.sh
MIT License
1.17k stars 17 forks source link

Heap out of memory #190

Open Akkuma opened 7 years ago

Akkuma commented 7 years ago
<--- Last few GCs --->

   45416 ms: Mark-sweep 1232.9 (1380.3) -> 1231.9 (1376.3) MB, 827.6 / 0.0 ms [allocation failure] [GC in old space requested].
   46303 ms: Mark-sweep 1231.9 (1376.3) -> 1231.6 (1334.3) MB, 887.6 / 0.0 ms [last resort gc].
   47184 ms: Mark-sweep 1231.6 (1334.3) -> 1231.2 (1325.3) MB, 880.9 / 0.0 ms [last resort gc].

<--- JS stacktrace --->

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

Security context: 0x5714f5cfb39 <JS Object>
    1: wrap(aka wrap) [/Users/omni/Documents/git/vault-extension/node_modules/butternut/dist/butternut.cjs.js:~3833] [pc=0x2868d2042b6d] (this=0x5714f504381 <undefined>,raw=0x2c08f42ea889 <a Node with map 0x3da2830747d1>,parent=0x89fae9ca11 <a Node with map 0x3da283074569>)
    2: wrap(aka wrap) [/Users/omni/Documents/git/vault-extension/node_modules/butternut/dist/butternut.cjs.js:~3833] [pc=0x...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [/Users/omni/.nvm/versions/node/v6.10.1/bin/node]
 2: node::FatalException(v8::Isolate*, v8::Local<v8::Value>, v8::Local<v8::Message>) [/Users/omni/.nvm/versions/node/v6.10.1/bin/node]
 3: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [/Users/omni/.nvm/versions/node/v6.10.1/bin/node]
 4: v8::internal::Factory::NewFixedArray(int, v8::internal::PretenureFlag) [/Users/omni/.nvm/versions/node/v6.10.1/bin/node]
 5: v8::internal::HashTable<v8::internal::SeededNumberDictionary, v8::internal::SeededNumberDictionaryShape, unsigned int>::EnsureCapacity(v8::internal::Handle<v8::internal::SeededNumberDictionary>, int, unsigned int, v8::internal::PretenureFlag) [/Users/omni/.nvm/versions/node/v6.10.1/bin/node]
 6: v8::internal::SeededNumberDictionary::AddNumberEntry(v8::internal::Handle<v8::internal::SeededNumberDictionary>, unsigned int, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyDetails, bool) [/Users/omni/.nvm/versions/node/v6.10.1/bin/node]
 7: v8::internal::(anonymous namespace)::DictionaryElementsAccessor::AddImpl(v8::internal::Handle<v8::internal::JSObject>, unsigned int, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, unsigned int) [/Users/omni/.nvm/versions/node/v6.10.1/bin/node]
 8: v8::internal::JSObject::AddDataElement(v8::internal::Handle<v8::internal::JSObject>, unsigned int, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::internal::Object::ShouldThrow) [/Users/omni/.nvm/versions/node/v6.10.1/bin/node]
 9: v8::internal::Runtime::SetObjectProperty(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, v8::internal::LanguageMode) [/Users/omni/.nvm/versions/node/v6.10.1/bin/node]
10: v8::internal::Runtime_SetProperty(int, v8::internal::Object**, v8::internal::Isolate*) [/Users/omni/.nvm/versions/node/v6.10.1/bin/node]
11: 0x2868d17092a7
12: 0x2868d2042b6d
13: 0x2868d2042e8e