- Bump default data size from 128M to 256M, allows the java interpreter to

start up without unlimit.
- Bump max data size from 2G to 3G. The actual space we are allowed to allocate
  is somewhere between 2G and 3G, so trying to allocate above that will fail.
- Bump max stack size from 32M to 64M.

Approved by fvdl
This commit is contained in:
christos 2005-09-20 16:38:58 +00:00
parent c8a9612d27
commit 8de29063ea

View File

@ -1,4 +1,4 @@
/* $NetBSD: vmparam.h,v 1.59 2005/07/17 05:29:54 christos Exp $ */
/* $NetBSD: vmparam.h,v 1.60 2005/09/20 16:38:58 christos Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -64,16 +64,16 @@
*/
#define MAXTSIZ (64*1024*1024) /* max text size */
#ifndef DFLDSIZ
#define DFLDSIZ (128*1024*1024) /* initial data size limit */
#define DFLDSIZ (256*1024*1024) /* initial data size limit */
#endif
#ifndef MAXDSIZ
#define MAXDSIZ (2U*1024*1024*1024) /* max data size */
#define MAXDSIZ (3U*1024*1024*1024) /* max data size */
#endif
#ifndef DFLSSIZ
#define DFLSSIZ (2*1024*1024) /* initial stack size limit */
#endif
#ifndef MAXSSIZ
#define MAXSSIZ (32*1024*1024) /* max stack size */
#define MAXSSIZ (64*1024*1024) /* max stack size */
#endif
/*