Sunday, May 22, 2011

0

To increase Kernal Memory run the following command in Terminal. How to increase Kernel Memory

  • Sunday, May 22, 2011
  • ikraninc
  • Share

  • To increase Kernal Memory run the following command in Terminal:

    > su
    > "Type root password"
    > echo 2147483648 > /proc/sys/kernel/shmmax
    > sysctl -w kernel.shmmax=2147483648
    > echo "kernel.shmmax=2147483648" >> /etc/sysctl.conf

    If problem occur (service stop) in approval application when user approve a transaction. Then follow below two steps to correct that problem.

    First step:

    > sed -i 's/XINERAMA/FAKEEXTN/g' /usr/java/j2sdk1.4.2_18/jre/lib/i386/libawt.so 
    > sed -i 's/XINERAMA/FAKEEXTN/g' /usr/java/j2sdk1.4.2_18/jre/lib/i386/libjawt.so
    Note : In above tow comamnds I have given jre path for java 1.4.2 if you have higher version then path may differ.

    Second step:   Add the following line in "/etc/init.d/Streamline_Approval" file as 1st line

    export LIBXCB_ALLOW_SLOPPY_LOCK=1

    0 Responses to “To increase Kernal Memory run the following command in Terminal. How to increase Kernel Memory”

    Post a Comment