diff --git a/ios/RNNodeJsMobile.m b/ios/RNNodeJsMobile.m index 84b329b..00f11ef 100644 --- a/ios/RNNodeJsMobile.m +++ b/ios/RNNodeJsMobile.m @@ -130,9 +130,8 @@ -(void)callStartNodeProject:(NSString *)mainFileName selector:@selector(callStartNodeProject:) object:mainFileName ]; - // Set 1MB of stack space for the Node.js thread, - // the same as the iOS application's main thread. - [nodejsThread setStackSize:1024*1024]; + // Set 2MB of stack space for the Node.js thread. + [nodejsThread setStackSize:2*1024*1024]; [nodejsThread start]; } }