ionic cordova build ios --prod gets an JavaScript heap out of memory
I am building an app with IONIC 3 and I am having a problem with JS while I am building a production app.
I use the code ionic cordova build ios --prod
and the follow error appear
<--- Last few GCs --->
[2769:0x104000000] 198493 ms: Mark-sweep 8037.6 (8188.4) -> 8037.6 (8189.4) MB, 10477.9 / 0.0 ms (average mu = 0.108, current mu = 0.001) allocation failure scavenge might not succeed
[2769:0x104000000] 211226 ms: Mark-sweep 8038.6 (8189.4) -> 8038.5 (8190.9) MB, 12720.3 / 0.0 ms (average mu = 0.048, current mu = 0.001) allocation failure scavenge might not succeed
<--- JS stacktrace --->
==== JS stack trace =========================================
0: ExitFrame [pc: 0xc2936adc01d]
1: StubFrame [pc: 0xc2936add3df]
Security context: 0x16d7fc81e681 <JSObject>
2: write [0x16d90d9e6691] [/Users/guifeliper/My Apps/TalkABit2019/node_modules/typescript/lib/typescript.js:~9597] [pc=0xc2936afd123](this=0x16d90d9e6739 <Object map = 0x16d706426959>,s=0x16d7bd9bf491 <String[1]: V>)
3: write(aka write) [0x16d90d9e7021] [/Users/guifeliper/My Apps/TalkABit2019/node_modules/typescrip...
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 0x100039dbf node::Abort() [/usr/local/bin/node]
2: 0x100039fc9 node::OnFatalError(char const*, char const*) [/usr/local/bin/node]
3: 0x1001d1375 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node]
4: 0x10059c572 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/usr/local/bin/node]
5: 0x10059f045 v8::internal::Heap::CheckIneffectiveMarkCompact(unsigned long, double) [/usr/local/bin/node]
6: 0x10059aeef v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/usr/local/bin/node]
7: 0x1005990c4 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/local/bin/node]
8: 0x1005a594c v8::internal::Heap::AllocateRawWithLigthRetry(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/usr/local/bin/node]
9: 0x1005a59cf v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/usr/local/bin/node]
[ERROR] Non-zero exit from subprocess.
I have added the --max_old_space_size=4096 on node, but sadly it just slows to the error shows up. What could I do?
IONIC INFO
Ionic:
ionic (Ionic CLI) : 4.2.1 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.0
Cordova:
cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : android 7.0.0, ios 4.5.5
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.2.0, (and 5 other plugins)
System:
NodeJS : v10.10.0 (/usr/local/lib/node_modules/node/bin/node)
npm : 5.6.0
OS : macOS
Xcode : Xcode 10.1 Build version 10B61
UPDATE
I followed exactly this environment here, but now the stops again on firebase. It just stop without say nothing.
> cordova build ios
Preparing Firebase on iOS
Building for iPhone X Simulator
Building project: /Users/guifeliper/My Apps/TalkABit2019/platforms/ios/talkaBit.xcworkspace
Configuration: Debug
Platform: emulator
Build settings from command line:
CONFIGURATION_BUILD_DIR = /Users/guifeliper/My Apps/TalkABit2019/platforms/ios/build/emulator
SDKROOT = iphonesimulator12.1
SHARED_PRECOMPS_DIR = /Users/guifeliper/My Apps/TalkABit2019/platforms/ios/build/sharedpch
Build settings from configuration file '/Users/guifeliper/My Apps/TalkABit2019/platforms/ios/cordova/build-debug.xcconfig':
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES
CODE_SIGN_ENTITLEMENTS = $(PROJECT_DIR)/$(PROJECT_NAME)/Entitlements-$(CONFIGURATION).plist
CODE_SIGN_IDENTITY = iPhone Developer
ENABLE_BITCODE = NO
GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1
HEADER_SEARCH_PATHS = "$(TARGET_BUILD_DIR)/usr/local/lib/include" "$(OBJROOT)/UninstalledProducts/include" "$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include" "$(BUILT_PRODUCTS_DIR)"
OTHER_LDFLAGS = -ObjC
SWIFT_OBJC_BRIDGING_HEADER = $(PROJECT_DIR)/$(PROJECT_NAME)/Bridging-Header.h
javascript node.js cordova ionic-framework ionic3
add a comment |
I am building an app with IONIC 3 and I am having a problem with JS while I am building a production app.
I use the code ionic cordova build ios --prod
and the follow error appear
<--- Last few GCs --->
[2769:0x104000000] 198493 ms: Mark-sweep 8037.6 (8188.4) -> 8037.6 (8189.4) MB, 10477.9 / 0.0 ms (average mu = 0.108, current mu = 0.001) allocation failure scavenge might not succeed
[2769:0x104000000] 211226 ms: Mark-sweep 8038.6 (8189.4) -> 8038.5 (8190.9) MB, 12720.3 / 0.0 ms (average mu = 0.048, current mu = 0.001) allocation failure scavenge might not succeed
<--- JS stacktrace --->
==== JS stack trace =========================================
0: ExitFrame [pc: 0xc2936adc01d]
1: StubFrame [pc: 0xc2936add3df]
Security context: 0x16d7fc81e681 <JSObject>
2: write [0x16d90d9e6691] [/Users/guifeliper/My Apps/TalkABit2019/node_modules/typescript/lib/typescript.js:~9597] [pc=0xc2936afd123](this=0x16d90d9e6739 <Object map = 0x16d706426959>,s=0x16d7bd9bf491 <String[1]: V>)
3: write(aka write) [0x16d90d9e7021] [/Users/guifeliper/My Apps/TalkABit2019/node_modules/typescrip...
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 0x100039dbf node::Abort() [/usr/local/bin/node]
2: 0x100039fc9 node::OnFatalError(char const*, char const*) [/usr/local/bin/node]
3: 0x1001d1375 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node]
4: 0x10059c572 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/usr/local/bin/node]
5: 0x10059f045 v8::internal::Heap::CheckIneffectiveMarkCompact(unsigned long, double) [/usr/local/bin/node]
6: 0x10059aeef v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/usr/local/bin/node]
7: 0x1005990c4 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/local/bin/node]
8: 0x1005a594c v8::internal::Heap::AllocateRawWithLigthRetry(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/usr/local/bin/node]
9: 0x1005a59cf v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/usr/local/bin/node]
[ERROR] Non-zero exit from subprocess.
I have added the --max_old_space_size=4096 on node, but sadly it just slows to the error shows up. What could I do?
IONIC INFO
Ionic:
ionic (Ionic CLI) : 4.2.1 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.0
Cordova:
cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : android 7.0.0, ios 4.5.5
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.2.0, (and 5 other plugins)
System:
NodeJS : v10.10.0 (/usr/local/lib/node_modules/node/bin/node)
npm : 5.6.0
OS : macOS
Xcode : Xcode 10.1 Build version 10B61
UPDATE
I followed exactly this environment here, but now the stops again on firebase. It just stop without say nothing.
> cordova build ios
Preparing Firebase on iOS
Building for iPhone X Simulator
Building project: /Users/guifeliper/My Apps/TalkABit2019/platforms/ios/talkaBit.xcworkspace
Configuration: Debug
Platform: emulator
Build settings from command line:
CONFIGURATION_BUILD_DIR = /Users/guifeliper/My Apps/TalkABit2019/platforms/ios/build/emulator
SDKROOT = iphonesimulator12.1
SHARED_PRECOMPS_DIR = /Users/guifeliper/My Apps/TalkABit2019/platforms/ios/build/sharedpch
Build settings from configuration file '/Users/guifeliper/My Apps/TalkABit2019/platforms/ios/cordova/build-debug.xcconfig':
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES
CODE_SIGN_ENTITLEMENTS = $(PROJECT_DIR)/$(PROJECT_NAME)/Entitlements-$(CONFIGURATION).plist
CODE_SIGN_IDENTITY = iPhone Developer
ENABLE_BITCODE = NO
GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1
HEADER_SEARCH_PATHS = "$(TARGET_BUILD_DIR)/usr/local/lib/include" "$(OBJROOT)/UninstalledProducts/include" "$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include" "$(BUILT_PRODUCTS_DIR)"
OTHER_LDFLAGS = -ObjC
SWIFT_OBJC_BRIDGING_HEADER = $(PROJECT_DIR)/$(PROJECT_NAME)/Bridging-Header.h
javascript node.js cordova ionic-framework ionic3
1
github.com/ionic-team/ionic-app-scripts/issues/1036 << have you tried these?
– pmkro
Nov 21 '18 at 21:58
@pmkro I have been trying most of this issues, but seems that the big problem is firebase. Trying to dig around that now.
– Guilherme Felipe Reis
Nov 21 '18 at 22:09
add a comment |
I am building an app with IONIC 3 and I am having a problem with JS while I am building a production app.
I use the code ionic cordova build ios --prod
and the follow error appear
<--- Last few GCs --->
[2769:0x104000000] 198493 ms: Mark-sweep 8037.6 (8188.4) -> 8037.6 (8189.4) MB, 10477.9 / 0.0 ms (average mu = 0.108, current mu = 0.001) allocation failure scavenge might not succeed
[2769:0x104000000] 211226 ms: Mark-sweep 8038.6 (8189.4) -> 8038.5 (8190.9) MB, 12720.3 / 0.0 ms (average mu = 0.048, current mu = 0.001) allocation failure scavenge might not succeed
<--- JS stacktrace --->
==== JS stack trace =========================================
0: ExitFrame [pc: 0xc2936adc01d]
1: StubFrame [pc: 0xc2936add3df]
Security context: 0x16d7fc81e681 <JSObject>
2: write [0x16d90d9e6691] [/Users/guifeliper/My Apps/TalkABit2019/node_modules/typescript/lib/typescript.js:~9597] [pc=0xc2936afd123](this=0x16d90d9e6739 <Object map = 0x16d706426959>,s=0x16d7bd9bf491 <String[1]: V>)
3: write(aka write) [0x16d90d9e7021] [/Users/guifeliper/My Apps/TalkABit2019/node_modules/typescrip...
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 0x100039dbf node::Abort() [/usr/local/bin/node]
2: 0x100039fc9 node::OnFatalError(char const*, char const*) [/usr/local/bin/node]
3: 0x1001d1375 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node]
4: 0x10059c572 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/usr/local/bin/node]
5: 0x10059f045 v8::internal::Heap::CheckIneffectiveMarkCompact(unsigned long, double) [/usr/local/bin/node]
6: 0x10059aeef v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/usr/local/bin/node]
7: 0x1005990c4 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/local/bin/node]
8: 0x1005a594c v8::internal::Heap::AllocateRawWithLigthRetry(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/usr/local/bin/node]
9: 0x1005a59cf v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/usr/local/bin/node]
[ERROR] Non-zero exit from subprocess.
I have added the --max_old_space_size=4096 on node, but sadly it just slows to the error shows up. What could I do?
IONIC INFO
Ionic:
ionic (Ionic CLI) : 4.2.1 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.0
Cordova:
cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : android 7.0.0, ios 4.5.5
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.2.0, (and 5 other plugins)
System:
NodeJS : v10.10.0 (/usr/local/lib/node_modules/node/bin/node)
npm : 5.6.0
OS : macOS
Xcode : Xcode 10.1 Build version 10B61
UPDATE
I followed exactly this environment here, but now the stops again on firebase. It just stop without say nothing.
> cordova build ios
Preparing Firebase on iOS
Building for iPhone X Simulator
Building project: /Users/guifeliper/My Apps/TalkABit2019/platforms/ios/talkaBit.xcworkspace
Configuration: Debug
Platform: emulator
Build settings from command line:
CONFIGURATION_BUILD_DIR = /Users/guifeliper/My Apps/TalkABit2019/platforms/ios/build/emulator
SDKROOT = iphonesimulator12.1
SHARED_PRECOMPS_DIR = /Users/guifeliper/My Apps/TalkABit2019/platforms/ios/build/sharedpch
Build settings from configuration file '/Users/guifeliper/My Apps/TalkABit2019/platforms/ios/cordova/build-debug.xcconfig':
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES
CODE_SIGN_ENTITLEMENTS = $(PROJECT_DIR)/$(PROJECT_NAME)/Entitlements-$(CONFIGURATION).plist
CODE_SIGN_IDENTITY = iPhone Developer
ENABLE_BITCODE = NO
GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1
HEADER_SEARCH_PATHS = "$(TARGET_BUILD_DIR)/usr/local/lib/include" "$(OBJROOT)/UninstalledProducts/include" "$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include" "$(BUILT_PRODUCTS_DIR)"
OTHER_LDFLAGS = -ObjC
SWIFT_OBJC_BRIDGING_HEADER = $(PROJECT_DIR)/$(PROJECT_NAME)/Bridging-Header.h
javascript node.js cordova ionic-framework ionic3
I am building an app with IONIC 3 and I am having a problem with JS while I am building a production app.
I use the code ionic cordova build ios --prod
and the follow error appear
<--- Last few GCs --->
[2769:0x104000000] 198493 ms: Mark-sweep 8037.6 (8188.4) -> 8037.6 (8189.4) MB, 10477.9 / 0.0 ms (average mu = 0.108, current mu = 0.001) allocation failure scavenge might not succeed
[2769:0x104000000] 211226 ms: Mark-sweep 8038.6 (8189.4) -> 8038.5 (8190.9) MB, 12720.3 / 0.0 ms (average mu = 0.048, current mu = 0.001) allocation failure scavenge might not succeed
<--- JS stacktrace --->
==== JS stack trace =========================================
0: ExitFrame [pc: 0xc2936adc01d]
1: StubFrame [pc: 0xc2936add3df]
Security context: 0x16d7fc81e681 <JSObject>
2: write [0x16d90d9e6691] [/Users/guifeliper/My Apps/TalkABit2019/node_modules/typescript/lib/typescript.js:~9597] [pc=0xc2936afd123](this=0x16d90d9e6739 <Object map = 0x16d706426959>,s=0x16d7bd9bf491 <String[1]: V>)
3: write(aka write) [0x16d90d9e7021] [/Users/guifeliper/My Apps/TalkABit2019/node_modules/typescrip...
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 0x100039dbf node::Abort() [/usr/local/bin/node]
2: 0x100039fc9 node::OnFatalError(char const*, char const*) [/usr/local/bin/node]
3: 0x1001d1375 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node]
4: 0x10059c572 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/usr/local/bin/node]
5: 0x10059f045 v8::internal::Heap::CheckIneffectiveMarkCompact(unsigned long, double) [/usr/local/bin/node]
6: 0x10059aeef v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/usr/local/bin/node]
7: 0x1005990c4 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/local/bin/node]
8: 0x1005a594c v8::internal::Heap::AllocateRawWithLigthRetry(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/usr/local/bin/node]
9: 0x1005a59cf v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/usr/local/bin/node]
[ERROR] Non-zero exit from subprocess.
I have added the --max_old_space_size=4096 on node, but sadly it just slows to the error shows up. What could I do?
IONIC INFO
Ionic:
ionic (Ionic CLI) : 4.2.1 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.0
Cordova:
cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : android 7.0.0, ios 4.5.5
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.2.0, (and 5 other plugins)
System:
NodeJS : v10.10.0 (/usr/local/lib/node_modules/node/bin/node)
npm : 5.6.0
OS : macOS
Xcode : Xcode 10.1 Build version 10B61
UPDATE
I followed exactly this environment here, but now the stops again on firebase. It just stop without say nothing.
> cordova build ios
Preparing Firebase on iOS
Building for iPhone X Simulator
Building project: /Users/guifeliper/My Apps/TalkABit2019/platforms/ios/talkaBit.xcworkspace
Configuration: Debug
Platform: emulator
Build settings from command line:
CONFIGURATION_BUILD_DIR = /Users/guifeliper/My Apps/TalkABit2019/platforms/ios/build/emulator
SDKROOT = iphonesimulator12.1
SHARED_PRECOMPS_DIR = /Users/guifeliper/My Apps/TalkABit2019/platforms/ios/build/sharedpch
Build settings from configuration file '/Users/guifeliper/My Apps/TalkABit2019/platforms/ios/cordova/build-debug.xcconfig':
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES
CODE_SIGN_ENTITLEMENTS = $(PROJECT_DIR)/$(PROJECT_NAME)/Entitlements-$(CONFIGURATION).plist
CODE_SIGN_IDENTITY = iPhone Developer
ENABLE_BITCODE = NO
GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1
HEADER_SEARCH_PATHS = "$(TARGET_BUILD_DIR)/usr/local/lib/include" "$(OBJROOT)/UninstalledProducts/include" "$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include" "$(BUILT_PRODUCTS_DIR)"
OTHER_LDFLAGS = -ObjC
SWIFT_OBJC_BRIDGING_HEADER = $(PROJECT_DIR)/$(PROJECT_NAME)/Bridging-Header.h
javascript node.js cordova ionic-framework ionic3
javascript node.js cordova ionic-framework ionic3
edited Nov 21 '18 at 22:40
Guilherme Felipe Reis
asked Nov 21 '18 at 21:56
Guilherme Felipe ReisGuilherme Felipe Reis
349213
349213
1
github.com/ionic-team/ionic-app-scripts/issues/1036 << have you tried these?
– pmkro
Nov 21 '18 at 21:58
@pmkro I have been trying most of this issues, but seems that the big problem is firebase. Trying to dig around that now.
– Guilherme Felipe Reis
Nov 21 '18 at 22:09
add a comment |
1
github.com/ionic-team/ionic-app-scripts/issues/1036 << have you tried these?
– pmkro
Nov 21 '18 at 21:58
@pmkro I have been trying most of this issues, but seems that the big problem is firebase. Trying to dig around that now.
– Guilherme Felipe Reis
Nov 21 '18 at 22:09
1
1
github.com/ionic-team/ionic-app-scripts/issues/1036 << have you tried these?
– pmkro
Nov 21 '18 at 21:58
github.com/ionic-team/ionic-app-scripts/issues/1036 << have you tried these?
– pmkro
Nov 21 '18 at 21:58
@pmkro I have been trying most of this issues, but seems that the big problem is firebase. Trying to dig around that now.
– Guilherme Felipe Reis
Nov 21 '18 at 22:09
@pmkro I have been trying most of this issues, but seems that the big problem is firebase. Trying to dig around that now.
– Guilherme Felipe Reis
Nov 21 '18 at 22:09
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53421021%2fionic-cordova-build-ios-prod-gets-an-javascript-heap-out-of-memory%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53421021%2fionic-cordova-build-ios-prod-gets-an-javascript-heap-out-of-memory%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
github.com/ionic-team/ionic-app-scripts/issues/1036 << have you tried these?
– pmkro
Nov 21 '18 at 21:58
@pmkro I have been trying most of this issues, but seems that the big problem is firebase. Trying to dig around that now.
– Guilherme Felipe Reis
Nov 21 '18 at 22:09