FATAL ERROR: CALL_AND_RETRY_LAST


#1

[13:25:03] <— Last few GCs —>
[13:25:03] [36543:0x103800c00] 38826 ms: Mark-sweep 1152.2 (1246.3) -> 1152.2 (1210.3) MB, 113.9 / 0.0 ms (average mu = 0.930, current mu = 0.000) last resort GC in old space requested
[13:25:03] [36543:0x103800c00] 38928 ms: Mark-sweep 1152.2 (1210.3) -> 1152.2 (1209.8) MB, 101.7 / 0.0 ms (average mu = 0.866, current mu = 0.000) last resort GC in old space requested
[13:25:03] <— JS stacktrace —>
[13:25:03] ==== JS stack trace =========================================
[13:25:03] 0: ExitFrame [pc: 0x3d897dc5c01d]
[13:25:03] Security context: 0x21cc49c9e681
[13:25:03] 1: send [0x21cc47df84f1] [internal/child_process.js:716] [bytecode=0x21cc47df9549 offset=607](this=0x21cc92dd3879 ,message=0x21ccc9672761 <JSArray[4]>,handle=0x21cc05f826f1 ,options=0x21cc8ae41179 ,callback=0x21cc05f826f1 )
[13:25:03] 2: send [0x21cc47df84b1] [internal/child

[13:25:03] FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
[13:25:03] 1: 0x100039dbf node::Abort() [/usr/local/bin/node]
[13:25:03] 2: 0x100039fc9 node::OnFatalError(char const*, char const*) [/usr/local/bin/node]
[13:25:03] 3: 0x1001d1375 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node]
[13:25:03] 4: 0x10059c572 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/usr/local/bin/node]
[13:25:03] 5: 0x1005a5a64 v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/usr/local/bin/node]
[13:25:03] 6: 0x100577864 v8::internal::factory::NewRawTwoByteString(int, v8::internal::PretenureFlag) [/usr/local/bin/node]
[13:25:03] 7: 0x1006a9369 v8::internal::String::SlowFlatten(v8::internal::Handlev8::internal::ConsString, v8::internal::PretenureFlag) [/usr/local/bin/node]
[13:25:03] 8: 0x1001ef0ed v8::String::Utf8Length() const [/usr/local/bin/node]
[13:25:03] 9: 0x1000d7383 node::StringBytes::Size(v8::Isolate*, v8::Localv8::Value, node::encoding) [/usr/local/bin/node]
[13:25:03] 10: 0x1000db692 int node::StreamBase::WriteString<(node::encoding)1>(v8::FunctionCallbackInfov8::Value const&) [/usr/local/bin/node]
[13:25:03] 11: 0x1000dfed6 void node::StreamBase::JSMethod<node::LibuvStreamWrap, &(int node::StreamBase::WriteString<(node::encoding)1>(v8::FunctionCallbackInfov8::Value const&))>(v8::FunctionCallbackInfov8::Value const&) [/usr/local/bin/node]
[13:25:03] 12: 0x100259b8f v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo*) [/usr/local/bin/node]
[13:25:03] 13: 0x1002590d1 v8::internal::MaybeHandlev8::internal::Object v8::internal::(anonymous namespace)::HandleApiCallHelper(v8::internal::Isolate*, v8::internal::Handlev8::internal::HeapObject, v8::internal::Handlev8::internal::HeapObject, v8::internal::Handlev8::internal::FunctionTemplateInfo, v8::internal::Handlev8::internal::Object, v8::internal::BuiltinArguments) [/usr/local/bin/node]
[13:25:03] 14: 0x100258770 v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) [/usr/local/bin/node]
[13:25:03] 15: 0x3d897dc5c01d
Building JavaScript bundle [=================================================== ] 51%

 "expo": {
    "name": "test",
    "description": "test",
    "slug": "test",
    "privacy": "public",
    "sdkVersion": "29.0.0",
    "platforms": [
      "ios",
      "android"
    ],
    "version": "1.0.0",
    "orientation": "portrait",
    "icon": "./src/assets/img/icon.png",
    "notification": {
      "icon": "./src/assets/img/icon.png"
    },
    "splash": {
      "image": "./src/assets/img/splash.png",
      "resizeMode": "contain",
      "backgroundColor": "#FFFFFF"
    },
    "updates": {
      "fallbackToCacheTimeout": 0
    },
    "assetBundlePatterns": [
      "**/*"
    ],
 
    "ios": {
      "supportsTablet": true,
      "bundleIdentifier": "com.test",
      "publishBundlePath": "ios/yunnongba/Supporting/shell-app.bundle",
      "publishManifestPath": "ios/yunnongba/Supporting/shell-app-manifest.json"
    },
    "scheme": "",//前缀
    "android": {
      "package": "com.test",
      "publishBundlePath": "android/app/src/main/assets/shell-app.bundle",
      "publishManifestPath": "android/app/src/main/assets/shell-app-manifest.json"
    },
    "isDetached": true,
    "detach": {
      "iosExpoViewUrl": "https://s3.amazonaws.com/exp-exponent-view-code/ios-v2.7.0-sdk29.0.0-de70611d-e42d-4d50-a6a5-2d8eabf6ed72.tar.gz",
      "androidExpoViewUrl": "https://s3.amazonaws.com/exp-exponent-view-code/android-v2.7.2-sdk29.0.0-54e8f46d-36a6-460f-b0f9-e1043f28b215.tar.gz"
    }
  }

closed #2

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.