Memory

Rdavid wrote on 5/8/2005, 9:24 AM
I am rendering a 9 minute clip which includes mostly stills, music and some short video clips. When checking Task Manager it shows me using almost 600 MB ram.. I have 6 tracks in this video. Does that seem right? Am I doing something wrong? I have 1 Gig ram and am paging a lot. Is 1 gig enough or should i upgrade? Running Vegas 5.0. Thanks

Comments

BillyBoy wrote on 5/8/2005, 10:20 AM
Unless you do extremely large or complex projects or HD, or have lots of very large high resolution images in your projects, 1 GB of RAM should be more than enough for most users.

Just as an example I only use 1GB and typically have Photoshop, Word, Agent (my news reader application), anti-virus, ACDSee and a few others things all running even while rendering and NEVER have any problems at all. System is responsive, no excessive page swaping or any sign of pushing it.

As far as your Paging File (Swap File) there are as many opinions as they are people posting them. Best advise, experiment. Some swear by setting the paging file size to a constant, others let Windows size it as necessary. It really boils down to how much physical RAM you have and if or not you use your computer for multi-tasking (running multiple applications at once) A very rough approach is to set the size of your paging file to anywhere from half the size of your RAM to double. Only watching Task Manager while doing your normal routine can tell if or not you need more RAM or a larger/smaller paging file.

If your hard drive seems to be grinding away more than it should, then delete your paging file, THEN do a defrag on the drive it is on, THEN make a new paging file. If you paging file gets fragemented, then only the largest section that isn't fragement gets used. Depending on your use it may make sense to set you paging file to a physical drive OTHER THAN your root drive. Again, you got to experiment and see what works best.

A good gage of how well Windows is using resources is check Task Manager to see the ratios between Total/Limit/Peak under Commit Charge under the Performance tab.

Using XP I have my paging file set to 1.5 GB. So with 1 GB of physical RAM my limit is 2520260KB. Total respresents the combined RAM and virtual memory presently in use. The value under Peak is the highest amount used since you last booted.

Under Physical Memory you see how your actual memory is being used. System Cache is a chuck that Windows sets aside for its own use. Under Kerrel Memory you see the relationship between what can and can't be run in physical memory. For example some drivers and even some core componets of Windows MUST use physical RAM and can't be paged. As a very rough guess when your system is in heavy use, (you're rendering and also using several other applications) the System Cache should still be roughly 1/4 to 1/3 o you total physical RAM.

A good judge of if or not your need more memory is see what percentage of RAM gets used. Start whatever programs you typically use, then start a render. Now if the value under Commit Charge Peak is consistently above the total RAM you have installed, likely Windows is starving, since it can't use as much physical RAM as it could to run better. So it will switch things in and out of the paging file more then it ideally would. Increase your physical memory should help, allowing Windows to use more of your physical memory for its cache. This mainly is a factor if you multi-task, not as much if you don't.

Remember, for any computer to do anything it must move instruction code, data, in and out of physical RAM. If it stars to run out of RAM it gets forced to swap in and out of virtual memory more often.
John_Cline wrote on 5/8/2005, 10:30 AM
The key phrase here is "includes mostly stills." Vegas has these files open in memory. Also, it will uncompress any JPG files it has open as well. How much RAM it uses is a function of how many images you have on the timeline and how large the images are, but the RAM usage you're seeing is perfectly normal.

Whether you should add more RAM depends on how often you plan to do projects with a bunch of stills.

John
GlennChan wrote on 5/8/2005, 11:13 AM
I have 512MB and find my computer *slow* when I have 2 instances of Vegas and a bunch of firefox windows open. Vegas RAM preview is set at 150MB.

WIth stills, I believe Vegas will add them to RAM preview when you play through them. Try this:
Make a selection in the timeline and turn looping on.
Add a non-real-time filter to something.
Hit play on the loop.
As it goes through the loop, Vegas will add rendered video to RAM and the frame rate will eventually hit real-time.
I'm fairly sure RAM preview will fill itself if you use Vegas for some time. You could try turning RAM preview down in preferences if you have it set to something really high.

2- Windows will move unnecessary programs to the page file if necessary.
i.e. with 2 instaces of Vegas using 150MB+ each, I think windows has to move vegas in and out of the page file every time you switch in/out of it. When switching into Vegas, I find it really slow- this likely indicates windows is moving Vegas from the page file. The page file is very slow (?probably 6MB/s or so?). You will notice it if programs are waiting on it.

Anyways, I suggest turning RAM preview down.
fixler wrote on 5/21/2005, 1:57 AM
I have 512MB and when my comp is sitting idle on the desktop I am consuming 340MB... When I open Vegas 6 with render set to 64 it jumps to 600MB+.

What the hell is going on here. I have defraged. I have only 30GB of a 120GB harddrive being used. I have no viruses????

Help...please>