LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-24-2007, 12:44 PM   #1
adamruss
Member
 
Registered: Jul 2007
Posts: 44

Rep: Reputation: 15
how to free the cache memory?


hello, after i leave my laptop on for a while (usally amule is running) when i come back i see the the memory is 13% in use and 87% cache:

Code:
adam@adam-laptop:~$ free
             total       used       free     shared    buffers     cached
Mem:       2075964    2011448      64516          0      78804    1620308
-/+ buffers/cache:     312336    1763628
Swap:      1285160          0    1285160
adam@adam-laptop:~$
and i dont know why. i got 2GB memory... and this gives me shit when i try to burn anything (fails) and the overall comp seems a bit slower...

is there anyway to free or clean the cache memory?
 
Old 08-24-2007, 01:12 PM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Burning failing with that RAM amount has got to be something else than the cache (or rather, free RAM). I've burned unsuccessfully with a bad (read: old) drive with lots of (free) RAM, and after that successfully with a new, good drive with very little (free) RAM.

As long as you have free RAM available, it shouldn't be a problem. 2G is enough for home use if you ask me (servers run happily with 2G at many workplaces); maybe you should find out what exactly is the real reason behind failed burns, for example. It could be the memory issue you're referring to, but I doubt it on behalf of my experience.

Sorry that I can't actually help on your last-line question on how to free the cache (except for a reboot, or killing the processes that reserve the memory), but I'd just think the problem from another perspective. None of my personal machines has at the moment 2G of RAM, not even 1G, and all of them burn cds and dvds happily with even less free RAM than you have.

I hope you're not using amule for illegal purposes, because in that case I'm just happy if your machine gets stuck
 
Old 08-24-2007, 01:26 PM   #3
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Hi.

You don't want to clear the cache - it's cleared automatically when it's needed, and Linux is (to be honest) smarter than you or me when it comes to handling memory.

I'd check that DMA is switched on for you burner for a start:
Code:
hdparm /dev/hdX
Dave
 
Old 08-24-2007, 03:38 PM   #4
adamruss
Member
 
Registered: Jul 2007
Posts: 44

Original Poster
Rep: Reputation: 15
first to make it clear i only use amule for legal purpse (linux software, movie previews, etc.. downloading slack 12 at the moment.. nearly 4GB)

second, the thing is if i restart my system, the burning is fine. only after a while it starts failing and i have no idea how to check why it failed after it does.
 
Old 08-25-2007, 10:23 AM   #5
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
How are you burning? K3b? cdrecord?

Dave
 
Old 08-25-2007, 11:36 AM   #6
adamruss
Member
 
Registered: Jul 2007
Posts: 44

Original Poster
Rep: Reputation: 15
nero and if it fails k3b and if that fails gnomebaker and if all fails nautilus-burn
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Memory Cache MikeyCarter Linux - Hardware 2 07-03-2007 12:40 PM
cache and memory refresh totaljj Linux - General 0 02-15-2007 08:21 AM
increase free physical memory, decrease disk cache efm Linux - Hardware 4 03-30-2006 09:53 AM
getting the buffer/cache free value from free audibel Programming 3 03-04-2005 06:51 PM
Help Configuring the Memory Used by a Process in RedHat? (Cache Memory on CPU) geogecko Linux - General 3 02-23-2005 03:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration