From 03479142c5b6270698fe3eef26727e7f5c69758d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Mon, 3 Nov 1997 04:12:43 +0100
Subject: [PATCH] Lowered limit to 48MB, but only datasegment.

Rev: bin/smartlink:1.13
---
 bin/smartlink | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/smartlink b/bin/smartlink
index 4c2f494443..a7760c90fc 100755
--- a/bin/smartlink
+++ b/bin/smartlink
@@ -109,8 +109,8 @@ if test x$# != x0 ; then
 fi
 
 if test "x$NO_ULIMIT" = "x"; then
-  # Limit virtual memory usage to 64MB.
-  ulimit -v 65536 >/dev/null 2>&1
+  # Limit data segment size to 48MB.
+  ulimit -d 49152 >/dev/null 2>&1
 fi
 
 # Used to be exec, but Digital-Unix's stupid sh has buggy variable-expansion.
-- 
GitLab