V9 Memory Leak - Need fix

Moderator: Ken Berry

Post Reply
CajunRon

V9 Memory Leak - Need fix

Post by CajunRon »

Version 9 definitely has a memory leak problem. In Timeline View all I have to do is slide the indexer along the time scale and I can watch the PF usage in Windows Task Manager continue to grow and never release until I shutdown the program. After about 10 minutes of editing I get a Low Memory warning :cry:

I hope Ulead is lurking, taking notes and working on a fix.? :P
User avatar
Ken Berry
Site Admin
Posts: 22481
Joined: Fri Dec 10, 2004 9:36 pm
operating_system: Windows 11
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte B550M DS3H AC
processor: AMD Ryzen 9 5900X
ram: 32 GB DDR4
Video Card: AMD RX 6600 XT
Hard_Drive_Capacity: 1 TB SSD + 2 TB HDD
Monitor/Display Make & Model: Kogan 32" 4K 3840 x 2160
Corel programs: VS2022; PSP2023; DRAW2021; Painter 2022
Location: Levin, New Zealand

Post by Ken Berry »

I have done 3 projects now on VS9 (as well as playing around a fair bit with it), and have not experienced your problem. I just tried to emulate it with the Task Manager pane showing. CPU usage would peak at no more than 68% for some actions, but would quickly fall back to 1% or 3%. RAM (of which I have 2GB) would average around 591MB, and the highest I saw was 600 MB, and again it would quickly drop back down to the 591 MB level. No low or out of memory messages, even after one difficult and demanding project where I knew one of the clips for some reason took absolutely ages to load and then edit.
Ken Berry
maddrummer3301
Posts: 2507
Joined: Fri Dec 10, 2004 10:24 pm
Location: US

Post by maddrummer3301 »

How much memory do you have in your machine?
Are you letting windows handle the PF and memory resources
or assigning them manually.

Why is your machine already paging after loading a video on the timeline?

Under preferences are your settings set to "Instant Playback"?
That is the setting you need to use.

MD
jchunter

Post by jchunter »

Ron,
I can't reproduce this problem in VS9 (this in no way suggests that there is not a problem). I have a 20 minute new project with a mixture of 16x9 and 4:3 clips and when I move either the jog bar on the instant preview window or the slider on the timeline display, the memory remains well controlled and recovers rapidly. I observed a peak memory usage of 423 MB. I have 1GB of memory installed, have DMA enabled and Write Caching disabled. My virtual memory is set at 1GB, paging enabled.

Project properties are:
NTSC drop frame (29.97 fps)
MPEG files
24 Bits, 720 x 480, 29.97 fps
Lower Field First
(DVD-NTSC), 4:3
Video data rate: Variable (Max. 8000 kbps)
Audio data rate: 224 kbps
MPEG audio layer 2, 48 KHz, Stereo (Video clips are Dolby)
MikeGunter

Re: V9 Memory Leak - Need fix

Post by MikeGunter »

CajunRon wrote:Version 9 definitely has a memory leak problem. In Timeline View all I have to do is slide the indexer along the time scale and I can watch the PF usage in Windows Task Manager continue to grow and never release until I shutdown the program. After about 10 minutes of editing I get a Low Memory warning :cry:

I hope Ulead is lurking, taking notes and working on a fix.? :P
There isn't a memory leak in the program.

What is happening is your Windows swap discs and virtual memory need tweaking.

First, do you have a disc just for video editing files aprart from the main disc for operating system?

Mike
THoff

Post by THoff »

Also, are you using the "Cache image clips in memory" option in the Preferences?
CajunRon

Post by CajunRon »

Thanks to all for the responses. Let see. To answer the questions:

1. I have 1GB of RAM
2. I've got my PF set to manual control (min is 1.5 GB and max is 3.1 GB...I don't why they're different, I will set them the same)
3. "Instant Playback" is selected in Preferences
4. I've got one 120 GB hard drive partitioned into 3 drives. The PF is on C: drive and my video and working files are on E:
5. "Cache image clips in memory" is NOT selected

I'll start tweaking to see if I can figure it out but if anyone has any ideas I would appreciate hearing them. Thanks.
MikeGunter

Post by MikeGunter »

CajunRon wrote:Thanks to all for the responses. Let see. To answer the questions:

1. I have 1GB of RAM
2. I've got my PF set to manual control (min is 1.5 GB and max is 3.1 GB...I don't why they're different, I will set them the same)
3. "Instant Playback" is selected in Preferences
4. I've got one 120 GB hard drive partitioned into 3 drives. The PF is on C: drive and my video and working files are on E:
5. "Cache image clips in memory" is NOT selected

I'll start tweaking to see if I can figure it out but if anyone has any ideas I would appreciate hearing them. Thanks.
Hi,

Video throughput "can" be done on a partition of a drive in which the O/S resides, but it is never advised.

Mike
maddrummer3301
Posts: 2507
Joined: Fri Dec 10, 2004 10:24 pm
Location: US

Post by maddrummer3301 »

Mike, I wouldn't think that would cause a memory problem though.
Just slower IO's using one Harddisk.

Mr. Hunter pointed out a memory bug from VS8.
If you had "Perform non-square pixel rendering" Unchecked
the program would eat up memory almost exactly as is your case.
I think is was non-square or similiar. There's only one choice for
it under "Preferences".

Are these video files Mpeg2 files or someother non-compliant file(s).

I would contact tech support.

MD
MikeGunter

Post by MikeGunter »

Hi maddrummer3301,

I don't know how his performance options are setup to handle the partition and swap memory.

Mike
CajunRon

Post by CajunRon »

My drive is a serial ATA drive. (Device manager reports it as a SCSI Disk Device which I've never quite understood). Might this have something to do with the PF continuing to grow on usage and not releasing? I've not had any other problem with the drive or the PF memory with any other program that I'm aware of?
maddrummer3301
Posts: 2507
Joined: Fri Dec 10, 2004 10:24 pm
Location: US

Post by maddrummer3301 »

MikeGunter,

On my system playing a CLIP doesn't affect memory or the paging
file.
Clicking on the "Project" text icon (next to the play icon) results in
immediate memory calls(usage) and paging file usage.

Letting the 3 clips play the paging file USAGE was very close to the total
sum (size) of the 3 clips combined.
After the paging file was created subsequent plays of the video seemed
to use that paging file as a buffer.
No files showed up in the temp preview folder.
Settings for the project match the source video as usual including the audio.
Also using Instant preview.

When playing a clip processor usage never exceeded 16 percent.
When playing the project processor usage was approx 55-60 percent.

I don't know if this is a bug or normal operation.
Maybe ulead wants to buffer the whole video. This may be a process
for smart-rendering the project for final output if one made many edits.

MD
HighbroW

Post by HighbroW »

I, too, suffer under severe pagefile swapping. Although it has not ever exceeded 1.61GB, it does stall VS9 with out of memory errors.

My system:
Gigabyte nForce3 250 mainboard
Athlon 64 3200+ @ 2.35 GHz
1 Gb Crucial Ballistix DDR500
Soundblaster Audigy 2 ZS
nVidia 6800GT 256Mb
2 x Maxtor 160Gb SATA in RAID 0 (3 partitions) used for OS and storage
1 x Maxtor 200Gb IDE (1 partition) used for programs and other storage

I have instant playback enabled
All preview files and working folders are on IDE channel, seperate from OS
My pagefile size is 1536/2048Mb

On a side note, I have not had any problems whatsoever with VS8. VS9 problems began cropping up.

Thanks for any help.
Post Reply