Increases stack memory to 4m when executing j2objc to match what Blaze uses
when compiling Java sources.
--
PiperOrigin-RevId: 142665504
MOS_MIGRATED_REVID=142665504
diff --git a/tools/j2objc/j2objc_wrapper.py b/tools/j2objc/j2objc_wrapper.py
index 568060a..003cf08 100755
--- a/tools/j2objc/j2objc_wrapper.py
+++ b/tools/j2objc/j2objc_wrapper.py
@@ -402,7 +402,7 @@
help='The path to the Java executable.')
parser.add_argument(
'--jvm_flags',
- default='',
+ default='-Xss4m',
help='A comma-separated list of flags to pass to the JVM.')
parser.add_argument(
'--j2objc',