Assign RAM as Temp file

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
edwinn
Posts: 269
Joined: Fri Feb 27, 2015 12:46 am
Operating System: Windows 7

Assign RAM as Temp file

Post by edwinn » Mon Dec 14, 2015 9:56 pm

Hi aGaiN,

Have recently bought an i7 PC with 16GB of RAM, and would like to have Audacity USE more RAM, and less hard drive to speed things up. That being when "undoing" functions, or zooming "back out" after focusing on a short segment, or when multiple Audacity windows in use.

Generally take advantage of 16 GB.


-Ed
Last edited by edwinn on Wed Dec 16, 2015 2:18 am, edited 1 time in total.

kozikowski
Forum Staff
Posts: 69374
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: Assign RAM as Temp file

Post by kozikowski » Tue Dec 15, 2015 12:26 am

You would have to make the memory "look like" a hard drive with its own name like e:\. And then you could tell Audacity to use that "drive" for production.

However. If you had a computer with 16GB hard drive, the first words out of our mouths would be that's not enough for serious production. People look at MP3 files and extrapolate from that, but they don't extrapolate far enough. The first thing Audacity does is decompress the MP3 and re-encode it in its own very high quality uncompressed format for editing. So suddenly, your tiny, convenient MP3 isn't so tiny any more. Every time you edit, Audacity has to save that version of the show for UNDO. That piles up very quickly.

If you said you had 500GB of memory, then we'd be talking. But instead of that, invest in an SSD. Convenient and Very Serious speed bump.

Koz

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Assign RAM as Temp file

Post by steve » Tue Dec 15, 2015 12:57 am

A quick "napkin calculation":

One 30 minute stereo track, 44100 Hz sample rate, 32-bit float sample format = (approx) 600 MB
10 levels of "undo" for the track = approx 6 GB.

Yes it's possible, but if for any reason you run out of space on the RAM disk, the project will crash or freeze with absolutely no hope of recovering any of the data.
As koz wrote, an SSD is a much better idea.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Assign RAM as Temp file

Post by Gale Andrews » Tue Dec 15, 2015 11:49 am

edwinn wrote:Have recently bought an i7 PC with 16GB of RAM, and would like to have Audacity USE more RAM, and less hard drive to speed things up. That being when "undoing" functions, or zooming "back out" after focusing on a short segment, or when multiple Audacity windows in use.

Generally take advantage of 16 GB.
So do you want to "vote" for a 64-bit version of Audacity on Windows?

That's the only way Audacity will address more than 2 GB to 3 GB of RAM and have Windows manage the RAM.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Assign RAM as Temp file

Post by steve » Tue Dec 15, 2015 12:37 pm

Gale Andrews wrote:That's the only way Audacity will address more than 2 GB to 3 GB of RAM and have Windows manage the RAM.
"RamDisk Plus" is commercial ($80 US) software that claims to be able to exceed the OS memory limitations on 32-bit Windows. There may be other applications that can also do this, but I'm not aware of any free ones for Windows that can.

Wikipedia notes the following points:
(https://en.wikipedia.org/wiki/List_of_R ... e_software)
  • Some RAM drives when used with 32-bit operating systems (particularly 32-bit Microsoft Windows) on computers with IBM PC architecture allow memory above the 4 GB point in the memory map, if present, to be used; this memory is unmanaged and not normally accessible.[2] Software using unmanaged memory can cause stability problems.
  • Some RAM drives are able to use any 'unmanaged' or 'invisible' RAM below 4 GB in the memory map (known as the 3 GB barrier) i.e. RAM in the 'PCI hole'. Note: Do not assume that RAM drives supporting 'AWE' (or Address Windowing Extensions) memory above 4 GB will also support unmanaged PAE (or Physical Address Extension) memory below 4 GB—most don't.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

themickster
Posts: 308
Joined: Wed Aug 12, 2015 10:50 pm
Operating System: Windows 10

Re: Assign RAM as Temp file

Post by themickster » Tue Dec 15, 2015 10:18 pm

Am I right in guessing that usb storage would be even slower than hdd?

kozikowski
Forum Staff
Posts: 69374
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: Assign RAM as Temp file

Post by kozikowski » Wed Dec 16, 2015 12:21 am

The only way I know of to get a speed bump with spinning metal is shared array, but that usually takes a special controller. Then you need matching drives, interleaving standards, etc. Far easier to use an SSD.

I tell the parable of two laptops. One of the guys at work and I had sister laptops and the only significant difference between us was he had spinning metal and I had an SSD. I had to do some common task on his and it didn't come back instantly. I thought it was broken. "No," he said, "That's normal response."

Eww.

Koz

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Assign RAM as Temp file

Post by steve » Wed Dec 16, 2015 1:40 am

themickster wrote:Am I right in guessing that usb storage would be even slower than hdd?
From fast to slow:

RAM -> SSD -> Internal HD -> (External HD <-> USB3 thumb drive) -> USB2 thumb drive -> Optical drive (CD/DVD) -> Pen and paper.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

kozikowski
Forum Staff
Posts: 69374
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: Assign RAM as Temp file

Post by kozikowski » Wed Dec 16, 2015 2:11 am

Pen and paper.
What about using a really fast pen? I know Gregg shorthand. That can double writing speed or better right there although interchangeability can suffer. Nobody uses Pitman.

Use coated paper stock/glossy or photo/glossy to cut down on paper friction, although if you're not careful, you can smear it because some coated stocks take longer to dry. Sinister (left-handed) writers need not apply, even if they do that arching over the top of the sheet thing.

Avoid matte and pearlescent finishes. They're slower. Cheap "Xerox" stock can be troublesome because of the tendency to buckle and shift at higher speeds. The finish may not be consistent from page to page, either, but you won't know that until you wreck a page and destroy your throughput.

Not recommended.

Koz

edwinn
Posts: 269
Joined: Fri Feb 27, 2015 12:46 am
Operating System: Windows 7

Re: Assign RAM as Temp file

Post by edwinn » Wed Dec 16, 2015 2:17 am

kozikowski wrote:The first thing Audacity does is decompress the MP3 and re-encode it in its own very high quality uncompressed format for editing. So suddenly, your tiny, convenient MP3 isn't so tiny any more. Every time you edit, Audacity has to save that version of the show for UNDO. That piles up very quickly.

invest in an SSD. Convenient and Very Serious speed bump.
The reason for the question is.. looking in Task Manager [Ctrl] + [Shift] + [Esc], it says Audacity is using 10 MB with a 2 hr stereo FLAC open. 10 MB?? That's nothing! And on the Performance tab of TM, only 2 GB of the 16 GB is being used!!! WTF Why doesn't the OS or Audacity use more RAM?


Is there a way to tell Audacity to USE MORE RAM? or would that be FLOODED real quick?

An SSD sounds like a good idea. 500 GB would be a good size? Could be pricey.


-Ed
Last edited by edwinn on Wed Dec 16, 2015 2:30 am, edited 1 time in total.

Post Reply