#include <sys/resource.h>
-#define USRSTACK 0xc0000000
+#define USRSTACK 0xbfff9000
/*
* Virtual memory related constants, all in bytes
#define MAXDSIZ (RLIM_INFINITY) /* max data size */
#endif
#ifndef DFLSSIZ
-#define DFLSSIZ (512*1024) /* initial stack size limit */
+#define DFLSSIZ (8*1024*1024 - 7*4*1024) /* initial stack size limit */
#endif
#ifndef MAXSSIZ
-#define MAXSSIZ (64*1024*1024) /* max stack size */
+#define MAXSSIZ (64*1024*1024 - 7*4*1024) /* max stack size */
#endif
#ifndef DFLCSIZ
#define DFLCSIZ (0) /* initial core size limit */