 | Senior Member with 509 posts. | | Join Date: Jul 2003 Location: WI Experience: Intermediate | | Disk Cache issues... Hey guys, I was importing about 1.8 gigs of photos from my CF card and it seems that all the memory went right to my disk cache. And just stays there till I reboot my computer. And since the disk cache uses RAM it used up like all but 50mbs of my 2gigs of RAM. So I am wondering how to turn disk cache off, or how to clear it with a command. I have been googling this matter for awhile with no success. Anyone here have an idea?
Thanks,
DE
__________________ Asus Model # A7N8X-X MoBo,
AMD Barton 2500+ OCed to 2.21 GHz
TT Volcano 12+
Radeon 9600pro 128mb Video Card,
Kingston 2X512mb 2700+
Wintec 1X256mb 2700 Ram, = 1280mb
Maxtor 160 gig 7200 HD,
Seagate 40 gig 7200 HD,
Lite-On 52x32x52 CD-RW
NEC DVD Burner
Logitech Cordless MX Duo K\M
Chieftec Case.
5X80mm UV LED, 1X 92mm LED Fans.
"Dude don't get a Dell, get off you butt and build your own" | | Distinguished Member with 14,988 posts. | | Join Date: Sep 2003 Location: -71.45091, 42.27841 | | Did you try a sync command (as root) a couple of times to flush file system buffers?
-- Tom | | Senior Member with 509 posts. | | Join Date: Jul 2003 Location: WI Experience: Intermediate | | no I didnt... I didnt know about that command at all. I will try it next time. My disk cache fills up no matter what I do, be it importing photos or running a virtualbox. BTW I just tried the sudo sync and the disk cache stayed the same... Any ideas on how to clear that? I went on the ubuntu forums and havnt really gotten a reply on that... My system takes a major crap anytime the disk cache takes up my RAM...
__________________ Asus Model # A7N8X-X MoBo,
AMD Barton 2500+ OCed to 2.21 GHz
TT Volcano 12+
Radeon 9600pro 128mb Video Card,
Kingston 2X512mb 2700+
Wintec 1X256mb 2700 Ram, = 1280mb
Maxtor 160 gig 7200 HD,
Seagate 40 gig 7200 HD,
Lite-On 52x32x52 CD-RW
NEC DVD Burner
Logitech Cordless MX Duo K\M
Chieftec Case.
5X80mm UV LED, 1X 92mm LED Fans.
"Dude don't get a Dell, get off you butt and build your own" | | Distinguished Member with 14,988 posts. | | Join Date: Sep 2003 Location: -71.45091, 42.27841 | | The sync command should be given at least twice. It will flush the file system buffers.
That said, since the mechanism you are using, the CF card, which I assume is a hardware card which when you insert it into a USB port activates its own softwareon your OS. After you have verified that the photos are stored on your hard disk, do you exit the software and or unplug the CF card or leave it in?
If you unplug and exit the software that transfers the data from your card to your hard disk, the system memory should be reclaimed. If not, one thing you can do is
1) before you insert your CF card and use the software, issue the command: ps -lx
2) insert the card,
3) reissue ps -lx command and
4) find the pid associated with running the use of the CF card and software associated with it.
Then substitute the pid of the process in the kill command as follows:
Try killing the processes associated with running the CF card and its software:
$ kill -9 <pid> (without the <>)
If that does not immediate work, try: sudo kill -9 <pid> (without the <>)
Killing the processes should reclaim the memory.
-- Tom
__________________ The independence created by philosophical insight is - in my opinion - the mark of distinction
between a mere artisan or specialist and a real seeker after truth. - Einstein 1944
Imagination is more important than knowledge. - Einstein | | Senior Member with 509 posts. | | Join Date: Jul 2003 Location: WI Experience: Intermediate | | Thanks for the help. I tried the help lotusclat. Like I said, I tried the sudo sync. And I think that it cleared the buffer. But did nothing to the cache... And I tried killing processes that were taking up system memory. And it reduced the "application data" being used. But again the disk cache stays the same...
__________________ Asus Model # A7N8X-X MoBo,
AMD Barton 2500+ OCed to 2.21 GHz
TT Volcano 12+
Radeon 9600pro 128mb Video Card,
Kingston 2X512mb 2700+
Wintec 1X256mb 2700 Ram, = 1280mb
Maxtor 160 gig 7200 HD,
Seagate 40 gig 7200 HD,
Lite-On 52x32x52 CD-RW
NEC DVD Burner
Logitech Cordless MX Duo K\M
Chieftec Case.
5X80mm UV LED, 1X 92mm LED Fans.
"Dude don't get a Dell, get off you butt and build your own" | | Junior Member with 19 posts. | | | | I used openoffice to edit a file on a floppy while offline. Closed openoffice & removed the floppy. The file was still in memory when I clked on it it came up in openoffice. Tried logging out but was still there. Finally shut dwn & restarted to clear it from memory before getting online. I will try SUDO SYNC & see if it clears it from memory. | | Junior Member with 19 posts. | | | | I just tried saving a new txt file to floppy then doing a sudo sync & the file was still there like last time..  ahh - UNmount the floppy! Then the file was gone.  ..so I guess that would have worked other day as well. |  THIS THREAD HAS EXPIRED.
Are you having the same problem?
We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.
|
Smart Search
| Find your solution! | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | |  WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
| You Are Using: |
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 04:01 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd. | |
|