updata:修改内存设置

This commit is contained in:
李海波 2025-04-28 11:21:07 +08:00
parent a270846325
commit 17f1d2754e
1 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,8 @@ export HOME=${HOME:-/root}
export PS1='\u@\h:\w\$ '
export LD_LIBRARY_PATH=/usr/lib/eyesee-mpp:${LD_LIBRARY_PATH}
ulimit -c unlimited
echo "/tmp/core.%e.%t" > /proc/sys/kernel/core_pattern
echo 1 > /proc/sys/vm/overcommit_memory
#mount -t debugfs none /sys/kernel/debug
[ -x /bin/more ] || alias more=less