From b788f9f5f16a0b7003d2560349e457392ea4a6ad Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 6 Jan 2011 16:28:31 -0500 Subject: [PATCH] limit core files, and process memory --- .bashrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 8878081..1861967 100644 --- a/.bashrc +++ b/.bashrc @@ -31,4 +31,5 @@ eval `dircolors 2>/dev/null` # Make sure our customised gtkrc file is loaded. export GTK2_RC_FILES="$HOME/.gtkrc-2.0:$HOME/.kde/share/config/gtkrc-2.0:/etc/gtk-2.0/gtkrc" -ulimit -c unlimited +ulimit -c $(( 512 * 1024 )) # units of KiB +ulimit -u 300 -- 2.39.5