summaryrefslogtreecommitdiff
path: root/miniperlmain.c
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2001-03-26 17:12:32 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2001-03-26 17:12:32 +0000
commit9133bbab1b418762e5735878fdd7f85407fdd45a (patch)
treea8b2a6da1ad23bc542b732c0d632e3f911f54f87 /miniperlmain.c
parent09e8efccba1f47d53c182ecd6161dfcbbbc53b0f (diff)
downloadperl-9133bbab1b418762e5735878fdd7f85407fdd45a.tar.gz
Memory tweaks and notes for OEMVS.
p4raw-id: //depot/perlio@9360
Diffstat (limited to 'miniperlmain.c')
-rw-r--r--miniperlmain.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/miniperlmain.c b/miniperlmain.c
index d1b3e8ed99..2994440f46 100644
--- a/miniperlmain.c
+++ b/miniperlmain.c
@@ -3,7 +3,12 @@
*/
#ifdef OEMVS
-#pragma runopts(HEAP(1M,32K,ANYWHERE,KEEP,8K,4K))
+#ifdef MYMALLOC
+/* sbrk is limited to first heap segement so make it big */
+#pragma runopts(HEAP(8M,500K,ANYWHERE,KEEP,8K,4K) STACK(,,ANY,) ALL31(ON))
+#else
+#pragma runopts(HEAP(2M,500K,ANYWHERE,KEEP,8K,4K) STACK(,,ANY,) ALL31(ON))
+#endif
#endif