slitaz-base-files rev 50

/etc/profile: prevent memory leak for data, stack, memory, vmemory
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 26 16:47:23 2008 +0000 (2008-07-26)
parents 4b9afd78edd7
children 28400795fab8
files rootfs/etc/profile
line diff
     1.1 --- a/rootfs/etc/profile	Sat Jul 26 13:50:52 2008 +0000
     1.2 +++ b/rootfs/etc/profile	Sat Jul 26 16:47:23 2008 +0000
     1.3 @@ -17,6 +17,9 @@
     1.4  
     1.5  # Max 64M for programs (prevent memory leak crashs)
     1.6  ulimit -d 65536
     1.7 +ulimit -s 65536
     1.8 +ulimit -m 65536
     1.9 +ulimit -v 65536
    1.10  
    1.11  # Screen display for X and encoding for GTK+ apps.
    1.12  #