From b6ed07eb30efc34673c15efdec8541d554bccefa Mon Sep 17 00:00:00 2001 From: marco Date: Tue, 15 Nov 2005 11:15:27 +0000 Subject: [PATCH] * fixed RLIMIT_VMEM gotcha git-svn-id: trunk@1754 - --- rtl/bsd/ostypes.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rtl/bsd/ostypes.inc b/rtl/bsd/ostypes.inc index 429def0e8e..f1f7e62f5a 100644 --- a/rtl/bsd/ostypes.inc +++ b/rtl/bsd/ostypes.inc @@ -262,8 +262,10 @@ Const {$IFDEF FreeBSD} RLIMIT_SBSIZE = 9; { maximum size of all socket buffers } RLIMIT_VMEM =10; { virtual process size (inclusive of mmap) } + RLIMIT_AS = RLIMIT_VMEM; +{$ELSE} + RLIMIT_AS = 5; { address space= resident set size} {$ENDIF} - RLIMIT_AS = RLIMIT_VMEM; { standard name for RLIMIT_VMEM } {$ifdef FreeBSD} RLIM_NLIMITS =11; { number of resource limits }