insufficient memory

Downstairs Video

insufficient memory

Post by Downstairs Video »

Hi,
I have a large project on the laptop. (An overdue wedding)
(I usually use my desktop)
If I choose 'play full screen' it renders for a few seconds, stops then displays "insufficient memory."
I have now spent a very long time trying to solve this myself, looked at every option I can think of. changed every setting I can think of.
720x576 (pal)
25fps 4:3 24bits
Lower field first
Encoder type 1
44,100 khz, 16bit, Stereo

The drive with the temp file is large enough
Change the settings in virtual memory several times


The laptop has handled other projects well.
2gig centrino
100 gig hard drive
1 gig fast ram
533mhz fsb
Win xp
MSP8

:?: :?: :?:
Gorf
Advisor
Posts: 428
Joined: Tue May 31, 2005 2:46 pm
Location: Blackburn, UK

Post by Gorf »

Why are you not using 48 KHz audio?
mmponline
Posts: 79
Joined: Fri Mar 31, 2006 2:58 pm
Location: White River, South Africa
Contact:

Post by mmponline »

I had a similar "out of memory" message when scrubbing the timeline when working on AVI files. I then reverted back to MPG files and never saw the problem again. Maybe you'll have to batch convert your clips first, and then try to render the project then. Can't quarantee that this will work, but for me, the workaround helped.

Hopefully one of the problems that will be sorted by the SP.

Stephan
Stephan - www.mmponline.co.za
---------
Ulead products:
MSP8, PhotoImpact10, MF4 and 5, Cool 3d Production Studio, Photo Explorer 8.5
Devil
Posts: 3032
Joined: Fri Mar 18, 2005 8:06 am
Location: Cyprus

Post by Devil »

You probably have insufficient space on the partition where you park your temp files.
[b][i][color=red]Devil[/color][/i][/b]

[size=84]P4 Core 2 Duo 2.6 GHz/Elite NVidia NF650iSLIT-A/2 Gb dual channel FSB 1333 MHz/Gainward NVidia 7300/2 x 80 Gb, 1 x 300 Gb, 1 x 200 Gb/DVCAM DRV-1000P drive/ Pan NV-DX1&-DX100/MSP8/WS2/PI11/C3D etc.[/size]
Downstairs Video

Post by Downstairs Video »

Gorf wrote:Why are you not using 48 KHz audio?
Because I like to use the smartsound CD's they are great, and they are
44 not 48. When we had the default set at 48 and used 44 we (my son and I) ran into audio problems, set at 44 solved them.
Downstairs Video

Post by Downstairs Video »

Devil wrote:You probably have insufficient space on the partition where you park your temp files.
Hi Devil, yes I changed the temp file to another drive in my original attempts. I have about 15gig free for the temp file
Gorf
Advisor
Posts: 428
Joined: Tue May 31, 2005 2:46 pm
Location: Blackburn, UK

Post by Gorf »

Load them into audio editor and convert them to 48 KHz, then.

There is a mismatch between using DV type 1 and 44.1 KHz audio - DV should be 48.

I only suggest this because some people have problems using MP3s on the timeline - and they even get those when the project itself has comparable settings, which yours does not.
troppo
Posts: 290
Joined: Sat Feb 11, 2006 4:51 am
Location: Broome, Western Australia

Post by troppo »

I get an "out of memory" error when scrubbing the timeline after working on the same project for several hours. I have to close and reopen the project to see the preview when scrubbing again.
I have 2 gig of memory and my temp file is on a 1 Tb SATA RAID drive.
I am using AVI files in this project.
Greg
Posts: 146
Joined: Mon Jan 31, 2005 1:37 pm
Location: South Africa

Post by Greg »

troppo wrote:I get an "out of memory" error when scrubbing the timeline after working on the same project for several hours.
Doesn't surprise me, to be honest, this type of thing can happen in any application. While your system space is large, windows has a number of buffers eg swapfile and undo/redo that fill up over time. The out of memory error doesn't appear to be specific enough to tell you what memory is being filled. Periodically closing and reopening MSP, or even shutting down and restarting will clear these buffers, hopefully preventing this kind of error. Try doing a power point presentation with a few hundred slides involving transitions and pictures, you will potentially get a similar error.

Regards,
Greg
Helge
Posts: 177
Joined: Thu Jan 05, 2006 12:53 pm
Location: Germany

Post by Helge »

Gorf:
If sound quality matters dont convert the sampling rate with audio editor. The results are horrible! IF you dont believe it, take a sinus wave signal (e.g. from a test cd)and convert it. You will even see it when you look at the waveform. But you will also hear it. You can also use a spectrum analyser ... very interesting :wink: Converting from 44.1 kHz to 48 kHz is very complicated, but also converting from 32 kHz to 48 kHz gives no good results.
I once tried different conversion tools - the worst was windows sound recorder. The best results I got with "high precision sampling rate converter" (a command line tool). Sorry, I dont have the link at hand.

Greg:
No, that should not happen with every application, specially not with Uleads. If it does, that means that there is a memory leak in the application. A memory leak is bug :!: This kind of bug is often undedected, unreported, sometimes hard to find and there are (bad) programmers which dont care about. But serious programmers - and I believe Ulead programmers are serious - will care.
But two things are still not sure:
Is there a memory leak or does a application perhaps really need so much memory? (Memory leak or more general resource leak means that an application forgets the memory / resource it has reserved while it does not use it any longer.)
Is it msp, which uses so much memory or an other app?

You can find this out with tools like process explorer (from www.sysinternals.com ). Eventually you have to select which columns to show. Than you can see which process uses how much memory and even which kind of memory. If memory usage grows for a process while this process does not hold more data than before (e.g. every time you open and close a dialog), than there is potentially a leak.
With msp I would not be so sure. May be that it only caches data of some files but is still aware of having reserved this memory. Than it would not be a leak :!:
Greg
Posts: 146
Joined: Mon Jan 31, 2005 1:37 pm
Location: South Africa

Post by Greg »

Helge,
Thanks for clarification, and apologies to Ulead programmers. I was not really blaming MSP, but rather that large cumbersome opsys called windows, which does odd things sometimes. My theory is that some programmers get a bit lazy, they assume the target machine has lots of memory, so they tend to be less than carefull when managing space used by their app. I have fond memories of my (very) old ZX81. There was a chess game available that played a very challenging game on 1Kb of RAM!

Shutting down the app or restarting the PC occasionally will just prevent any memory leak (from MSP or other) from causing a crash.

Regards,
Greg
sjj1805
Posts: 14383
Joined: Wed Jan 26, 2005 7:20 am
operating_system: Windows XP Pro
System_Drive: C
32bit or 64bit: 32 Bit
motherboard: Equium P200-178
processor: Intel Pentium Dual-Core Processor T2080
ram: 2 GB
Video Card: Intel 945 Express
sound_card: Intel GMA 950
Hard_Drive_Capacity: 1160 GB
Location: Birmingham UK

Post by sjj1805 »

Gorf
Advisor
Posts: 428
Joined: Tue May 31, 2005 2:46 pm
Location: Blackburn, UK

Post by Gorf »

Helge wrote:Gorf:
If sound quality matters dont convert the sampling rate with audio editor. The results are horrible! IF you dont believe it, take a sinus wave signal...
Is that when you sneeze on your microphone?

...I'll get me coat..
Helge wrote:Converting from 44.1 kHz to 48 kHz is very complicated, but also converting from 32 kHz to 48 kHz gives no good results.
32 to 48 will give bad results, because it is repeating one out of every three samples. 44.1 to 48 will not be as bad because it repeats 13 out of every 160 samples.

I'd always assumed that audio editor simply repeats the sample rather than average the sample with the one next to it (which would give better, but not perfect results). The reason for this assumption is that is what happens with video, but it's good to have it confirmed.

The best way would be to calculate a spline curve for the two samples either side of the point you wish to insert a sample, and create a sample that fits on that curve. That would be a (comparatively) huge overhead on audio processing time, and may make "noise" sound worse.

Realistically, the way it's done, there's not much of an impact for users such as us. If you take a relatively pure signal, such as a sine (or sinus :wink: ) wave, you'll see the stepping of the waveform, but a consumer camera mike is such a poor audio source in the first place that the addition of a regular, repeated sample is unlikely to be noticed in the ambient noise - and you can always blame it on the camera's tape drive.
Helge
Posts: 177
Joined: Thu Jan 05, 2006 12:53 pm
Location: Germany

Post by Helge »

If you just convert a speech signal from your micro its unlikely that you will notice the difference. But if you convert a sound from a cd its much more likely (depending on the kind of music. Most critical are piano and viola and the like).
Interpolation, spline and so might look logical at first, but both are wrong. The true reconstruction from sampled values is a sin(x) / x function. (Sampling theory) One way would be to calculate these values, sum them up for all samples and resample. but this is nearly impossible. So in practice its done with digital filters (a kind of feedback shift registers). 32kHz to 48 kHz is much simpler than 44.1 to 48 since 32/48 = 2/3, i.e. a ratio of low natural numbers (compare the ratio of the other!). So the resulting digital filter needs only a few coefficients. But you might get confused when you look at the formulas for the 44.1 to 48 conversion If you are interrested, google for "sampling rate converter". One not into deep explanation you can find at http://www.tnt.uni-hannover.de/soft/aud ... v/rcv.html
The tool I mentioned is at http://freshmeat.net/projects/ssrc/ It comes with source, if you are interested. :)
Downstairs Video

Post by Downstairs Video »

It is a facinating read about the audio conversion issues. Very interesting

But somewere along the way we forgot something - my memory

It's still lost, I think, if I could remember what it was.
Post Reply