Results 1 to 3 of 3

Thread: Clearing Memory Buffer in Linux

  1. #1
    PowellParker is offline Senior Member
    Join Date
    Dec 2009
    Posts
    210
    Rep Power
    3

    Default Clearing Memory Buffer in Linux

    I have oracle database and I want to clear memory after particular period so tell me which command is utilized to clear buffer memory in Linux. I want script which has code and can run automatically when buffer size reached max. Any help will be appreciated.

  2. #2
    PerrySullivan is offline Senior Member
    Join Date
    Dec 2009
    Posts
    209
    Rep Power
    3

    Default

    Linux gives memory management characteristics with cache memory feature. If there is extra space in RAM and getting slow processing in start of database. Then it happens, you would not organize cache memory and cache being stored on RAM and startup files are loaded on RAM.

    If RAM failed to run processes at appropriate time. You can clear filled memory buffers by following command :
    sync; echo 3 > /proc/sys/vm/drop_caches

  3. #3
    RussellBarnes is offline Senior Member
    Join Date
    Dec 2009
    Posts
    214
    Rep Power
    3

    Default

    To clear memory buffer use crontab utility with time interval. Here shown how to set time interval of running command permanently.

    Code:
    15 14 1 * * echo 3 > /proc/sys/vm/drop_caches
    This statement in crontab file Run at 2:15pm on first of each month means related command run mechanically to clear buffer at particular time.

Similar Threads

  1. Clearing emails
    By MyersGray in forum General Internet Terms
    Replies: 1
    Last Post: 04-22-2010, 03:40 PM
  2. Issue of Hard disk buffer memory
    By jasenta in forum Hard Disk
    Replies: 2
    Last Post: 03-25-2010, 02:22 PM
  3. Clearing the working memory and releasing the system brakes
    By Jahmar Anglian in forum Windows XP
    Replies: 1
    Last Post: 09-15-2009, 06:46 AM
  4. Buffer
    By clery in forum Everything Else
    Replies: 0
    Last Post: 03-20-2009, 05:03 AM
  5. Buffer
    By techno23 in forum Graphic Card
    Replies: 0
    Last Post: 03-24-2008, 11:36 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48