Previous in Forum: conversion to MP3 files and USB signals   Next in Forum: Logic Analyzer Project
Close
Close
Close
7 comments
Rate Comments: Nested
Associate

Join Date: Nov 2006
Location: South Africa
Posts: 49

Swap File Not On HDD

09/11/2007 8:08 AM

Hi there all computer fundis

Running a memory chowing program ( cad ) on my old laptop often confronts me with a "virtual memory too low" message and of course 'wait for the coffee' speed.

Now, there are limits, not least wallet related ones, to possible RAM upgrades.

Increasing the virtual memory size seems to cause some twisted wires somewhere else, so that is probably not the solution.

Why could i not tell the machine to use a 2GB USB flashdrive as swapfile/virtual memory?

I do not really see a speed problem here, since good flashdrives can give 15 to 19 MB/s transfer rate, while my HDD (not the latest ship) peaks at +- 30MB/s, and i never got a message saying "virtual memory transfer rate too low".

Having e.g. 2 Gig of additional RAM available at a much lower cost than a RAM upgrade just sounds good to me. But how do you send the overflowing RAM data to a USB drive?

Would like to try this, to verify if speed concerns are really an issue here. Can anyone give some advice ?

N.B. as you probably deduct from the question, I don't have chips for breakfast, so any advice would rather need to be in a user's language.

Thanks

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Power-User
Ireland - Member - New Member Engineering Fields - Energy Engineering - New Member

Join Date: Aug 2007
Location: Northern Ireland
Posts: 197
Good Answers: 17
#1

Re: Swap File Not On HDD

09/12/2007 3:15 AM

Ah which came first, the chicken or KFC? In order to control and recognise USB and it's drive, you need the OS booted, and the OS requires VM...

Don't know why you can't increase VM - if your HD is too small, you could create a compressed partition but do NOT compress the whole drive. VM must reside in an uncompressed partition.

If this is a little drastic (and it is) try de-fraging the drive. It's possible the VM is fragmented if it was increased before.

__________________
I love deadlines; I love the whooshing sound they make as they pass by. - Douglas Adams
Register to Reply
Associate

Join Date: Nov 2006
Location: South Africa
Posts: 49
#2
In reply to #1

Re: Swap File Not On HDD

09/12/2007 5:25 AM

Hi BabyGuinness

Thanks. Sounded too good to be possible anyway.

Register to Reply
Power-User
Engineering Fields - Civil Engineering - Member

Join Date: Apr 2007
Location: Island of Stone Money
Posts: 310
Good Answers: 5
#3

Re: Swap File Not On HDD

09/12/2007 7:30 AM

The fact that you're getting a message "virtual memory too low" proves that there is VM. You can increase the VM size say from 3 to 4 times your RAM. There is a trick here. Don't let Windows manage your computer's VM, you're in control here not Windows. Say your RAM is 256MB you can set VM from 768MB-768MB as long as your HDD space would allow, that space on HD will have fixed (not varies, i.e. say 512-768) allocation on HD. You might be required to restart your system.

After the restart you will notice improvement in your computer's performance.

Hope this helps.

__________________
"The more I learn, the more I know the less I've learnt"
Register to Reply
Anonymous Poster
#4

Re: Swap File Not On HDD

09/12/2007 8:42 AM

I had to make VM real damn big three times before I got it right. I was using big picture maps with several 1 meter orthoquad photos in autocad. The previous advice is correct but depending on how small your ram and how big your project, it could take a few tries to guess the right amount of VM. Do not let windows set it ........a damn palm tree will grow faster than windows does this task.

Register to Reply
Member

Join Date: Sep 2007
Posts: 6
Good Answers: 1
#5

Re: Swap File Not On HDD

09/12/2007 8:44 AM

Hi,

I agree that this is a "sounds to good to be true" situation but it reminded me of something I've heard of before. http://www.sandisk.com/Retail/Default.aspx?CatID=1472

Sandisk claims that a new feature they're adding to some flashdrives called "ReadyBoost" allows you to use a USB flashdrive as additional RAM for your system. It only works in Windows Vista, here is the Microsoft page for it: http://www.microsoft.com/windows/products/windowsvista/features/details/readyboost.mspx.

I've never tried it (I use XP) so I don't know if it works or not, though I'm always suspicious of these quick fix products.



Good luck

Register to Reply
Anonymous Poster
#6

Re: Swap File Not On HDD

09/12/2007 12:43 PM

"Virtual Memory" is not memory, its the swap file on the hard drive. If you have the flashdrive plug in all the time when computer boots, you can set the swap file there. Problem is if you pull it out before shut down, you computer will crash. If you forgot to put it back before turn on, it may not boot.

You cannot use flashdrive as RAM. They're too slow. Using them will become "wait for lunch and dinner time".

Slow with CAD is also due to slow graphic card on the notebook.

So bottom line is, get a new notebook.


Pineapple

Register to Reply
Power-User
Engineering Fields - Civil Engineering - Member

Join Date: Apr 2007
Location: Island of Stone Money
Posts: 310
Good Answers: 5
#7
In reply to #6

Re: Swap File Not On HDD

09/12/2007 7:53 PM

Yes!

With notebook prices dropping and specs getting much advance, we'll be happy with a new one.

For the OS though, I will still stick with XP Pro.

__________________
"The more I learn, the more I know the less I've learnt"
Register to Reply
Register to Reply 7 comments
Copy to Clipboard

Users who posted comments:

Anonymous Poster (2); BabyGuinness (1); hangwaiter (1); hawks1282 (1); willyap06 (2)

Previous in Forum: conversion to MP3 files and USB signals   Next in Forum: Logic Analyzer Project
You might be interested in: Memory Modules, Flash Memory Cards, SRAM Memory Chips

Advertisement