# HG changeset patch # User Pascal Bellard # Date 1217080252 0 # Node ID 4b9afd78edd7fb4bcae230c5e4d32840262bc987 # Parent 9fffc4211cd44b746c0e4cc3c20c4cb79c362dd3 /etc/profile: prevent memory leak, 64M data max diff -r 9fffc4211cd4 -r 4b9afd78edd7 rootfs/etc/profile --- a/rootfs/etc/profile Sat Jul 19 06:44:18 2008 +0000 +++ b/rootfs/etc/profile Sat Jul 26 13:50:52 2008 +0000 @@ -15,6 +15,9 @@ #PS1='\u@\h:\w\$ ' fi +# Max 64M for programs (prevent memory leak crashs) +ulimit -d 65536 + # Screen display for X and encoding for GTK+ apps. # [ -n "$DISPLAY" ] || DISPLAY=:0.0