Topic: Error Log - Memory leak in video player

I've gotten this error message stating a memory leak in the video player a couple of times recently. Here is the error log. Other than that everything else seems fine.

12:04:35.786; Start: SVPMgr 3.1.4 (901) starts...
12:04:35.786; AppDataPath: C:\Users\satori\AppData\Roaming (ANSI)
12:04:35.786; Start: read settings file settings.ini
12:04:35.787; Start: load language file - English. Duration: 24 ms
12:04:35.811; Start: check launched instance of SVP-manager
12:04:35.811; Start: check Avisynth installed
12:04:35.815; Start: clear Logs folder. Duration: 17 ms
12:04:35.832; Start: performance graphs prepare
12:04:35.832; Start: SVPMgr folders prepare. Duration: 8 ms
12:04:35.840; Start: read settings file SVPMgr.ini
12:04:35.841; Start: GPUs settings detection. Duration: 132 ms
12:04:35.973; Start: detected graphics (OpenCL) adapter: 11. GeForce GTX 670 (1939)
12:04:35.975; Start: monitors settings detection. Duration: 328 ms
12:04:36.303; Start: detected monitors:
1824 x 1026 @ 60
1680 x 1050 @ 60
12:04:36.303; Start: disable LNG-file write when UAC enabled
12:04:36.303; Start: change SVP-manager priority
12:04:36.303; Start: register hotkeys. Duration: 14 ms
12:04:36.317; Start: get versions of modules used
ffdshow.ax/avisynth.dll: 1.3.4500.0/2.6.0.3
svpflow1/2.dll: 1.3.3.0/1.4.1.0
svpflow_cpu/gpu.dll: 1.7.2.0/1.7.7.0
12:04:36.317; Start: refresh autostart state in registry
12:04:36.317; Start: some more work with registry
12:04:36.318; Start: create menu
12:04:36.322; Start: update settings file settings.ini
12:04:36.325; Start: update monitor settings
12:04:36.325; Start: prepare "About the program" window. Duration: 7 ms
12:04:36.332; Updates: check for updates. Request sended
12:04:36.447; Start: enable ffdShow waiting mode
12:04:36.447; RefreshSVP
12:04:36.448; ===== Waiting for ffdshow video
12:04:36.448; Start: prepare to work is complete
12:04:36.509; Updates: connection opened
12:04:36.727; Updates: server answer:
HTTP/1.1 200 OK
Date: Wed, 22 May 2013 19:04:40 GMT
Server: Apache
Cache-Control: no-cache, must-revalidate
Expires: Sat, 26 Jul 1997 05:00:00 GMT
Vary: Accept-Encoding
Transfer-Encoding: chunked
Content-Type: text/html

10
3.1.4
17.02.2013

12:04:36.737; Updates: server answer:
0


12:04:46.747; Updates: connection closed
20:17:30.510; ===== Detected playback with ffdShow
20:17:30.511; GetDimensionAndFPS_fromOSD start. Duration: 61 ms
20:17:30.572; GetDimensionAndFPS_fromOSD result: 1280x720 23.976 1/1
20:17:30.577; T1T: begin
20:17:30.579; T1T: GetAllMediaParams
20:17:30.579; T1T: SettingsPrepare
20:17:30.581; T1T: Preparing smooth playback...
20:17:30.582; T1T: WriteAllMediaParamsToIni
20:17:30.582; SVPMgr: main "C:\Users\satori\AppData\Roaming\SVP 3.1\" 1280 720 23.976 1280 720 5 2. Duration: 71 ms
20:17:30.653; ===== Playback
23.976 * (5 : 2) = 59.94 fps
20:17:30.653; SetPriorityPlayer: 2
21:03:14.476; RefreshSVP
21:03:14.478; ===== Waiting for ffdshow video. Duration: 332 ms
21:03:14.810; RefreshSVP
21:03:14.810; ===== Waiting for ffdshow video. Duration: 2471 ms
21:03:17.281; ===== Detected playback with ffdShow
21:03:17.281; GetDimensionAndFPS_fromOSD start. Duration: 21 ms
21:03:17.302; GetDimensionAndFPS_fromOSD result: 1280x720 23.976 1/1
21:03:17.304; T1T: begin
21:03:17.306; RefreshSVP
21:03:17.306; T1T: GetAllMediaParams
21:03:17.307; T1T: SettingsPrepare
21:03:17.309; T1T: Preparing smooth playback...
21:03:17.309; T1T: WriteAllMediaParamsToIni
21:03:17.309; SVPMgr: main "C:\Users\satori\AppData\Roaming\SVP 3.1\" 1280 720 23.976 1280 720 5 2. Duration: 63 ms
21:03:17.372; ===== Playback
23.976 * (5 : 2) = 59.94 fps
21:03:17.373; SetPriorityPlayer: 2
22:18:44.633; RefreshSVP
22:18:44.635; ===== Waiting for ffdshow video. Duration: 1066 ms
22:18:45.701; ===== Detected playback with ffdShow
22:18:45.703; GetDimensionAndFPS_fromOSD start. Duration: 74 ms
22:18:45.777; GetDimensionAndFPS_fromOSD result: 1280x720 23.976 1/1
22:18:45.780; T1T: begin
22:18:45.782; T1T: GetAllMediaParams
22:18:45.783; T1T: SettingsPrepare
22:18:45.785; T1T: Preparing smooth playback...
22:18:45.786; T1T: WriteAllMediaParamsToIni
22:18:45.787; SVPMgr: main "C:\Users\satori\AppData\Roaming\SVP 3.1\" 1280 720 23.976 1280 720 5 2. Duration: 68 ms
22:18:45.855; ===== Playback
23.976 * (5 : 2) = 59.94 fps
22:18:45.855; SetPriorityPlayer: 2
23:02:36.206; RefreshSVP
23:02:36.207; ===== Waiting for ffdshow video. Duration: 1006 ms
23:02:37.213; ===== Detected playback with ffdShow
23:02:37.214; GetDimensionAndFPS_fromOSD start. Duration: 21 ms
23:02:37.235; GetDimensionAndFPS_fromOSD result: 1280x720 23.976 1/1
23:02:37.240; T1T: begin. Duration: 10 ms
23:02:37.250; T1T: GetAllMediaParams
23:02:37.251; T1T: SettingsPrepare
23:02:37.254; T1T: Preparing smooth playback...
23:02:37.255; T1T: WriteAllMediaParamsToIni
23:02:37.256; SVPMgr: main "C:\Users\satori\AppData\Roaming\SVP 3.1\" 1280 720 23.976 1280 720 5 2. Duration: 66 ms
23:02:37.322; ===== Playback
23.976 * (5 : 2) = 59.94 fps
23:02:37.322; SetPriorityPlayer: 2. Duration: 6592 ms
23:02:43.914; Error: Warning: there's a memory leak in the video player: 1687 MB
To prevent the closing of the player due to lack of memory a script restarted improve smoothness.
23:09:26.337; at start:1504 at end:1496 fall:1 MB/min. Duration: 12094 ms
23:09:38.431; RefreshSVP
23:09:38.432; ===== Waiting for ffdshow video

Re: Error Log - Memory leak in video player

satori

Error: Warning: there's a memory leak in the video player: 1687 MB
To prevent the closing of the player due to lack of memory a script restarted improve smoothness.
23:09:26.337; at start:1504 at end:1496 fall:1 MB/min. Duration: 12094 ms

ffdshow.ax/avisynth.dll: 1.3.4500.0/2.6.0.3

You have avisynth 2.6 Alpha.
SVP works good with special avisynth 2.5.8 "SVP edition". There are some memory enhancements there.

Just reinstall SVP Full with avisynth option enabled. Or you can install avisynth 2.5.8 original separately. SVP Manager will update it to special "SVP edition" version when its will be opened.

Re: Error Log - Memory leak in video player

MAG79 wrote:

satori

Error: Warning: there's a memory leak in the video player: 1687 MB
To prevent the closing of the player due to lack of memory a script restarted improve smoothness.
23:09:26.337; at start:1504 at end:1496 fall:1 MB/min. Duration: 12094 ms

ffdshow.ax/avisynth.dll: 1.3.4500.0/2.6.0.3

You have avisynth 2.6 Alpha.
SVP works good with special avisynth 2.5.8 "SVP edition". There are some memory enhancements there.

Just reinstall SVP Full with avisynth option enabled. Or you can install avisynth 2.5.8 original separately. SVP Manager will update it to special "SVP edition" version when its will be opened.

OK. Thanks! I see that the avisynth changed when I was trying out the conversion to 60fps from the wiki.

Re: Error Log - Memory leak in video player

Hi!

According to this error log, what the problem could be?

Symptoms:
- When playing 1080p videos (doesn't matter which), after around 15-30 minutes video freezes for a second, then continues (the script restarts). So I know, that there's a memory leak... And the message window is there in the background stating, that script has been restarted.
- When I start playing videos, the first 10 second is very low framerate, then something happens and video plays smooth afterwards.

Rig: Corei7-960, 6G RAM, Sapphire Radeon 6970 2Gb, AMD Catalyst driver 13.1

Error log:
21:53:41.193; Start: SVPMgr 3.1.4 (901) starts...
21:53:41.194; AppDataPath: C:\Users\dsg\AppData\Roaming (ANSI)
21:53:41.194; Start: read settings file settings.ini
21:53:41.196; Start: load language file - English. Duration: 24 ms
21:53:41.220; Start: check launched instance of SVP-manager
21:53:41.221; Start: check Avisynth installed. Duration: 121 ms
21:53:41.342; Start: clear Logs folder
21:53:41.344; Start: performance graphs prepare
21:53:41.345; Start: SVPMgr folders prepare. Duration: 10 ms
21:53:41.355; Start: read settings file SVPMgr.ini
21:53:41.358; Start: GPUs settings detection. Duration: 213 ms
21:53:41.571; Start: detected graphics (OpenCL) adapter: 11. AMD Radeon HD 6900 Series (2385)
21:53:41.572; Start: monitors settings detection. Duration: 868 ms
21:53:42.440; Start: detected monitor: 1920 x 1080 @ 59.998
21:53:42.441; Start: disable LNG-file write when UAC enabled
21:53:42.442; Start: change SVP-manager priority
21:53:42.443; Start: register hotkeys. Duration: 68 ms
21:53:42.511; Start: get versions of modules used
ffdshow.ax/avisynth.dll: 1.3.4500.0/2.5.8.6
svpflow1/2.dll: 1.3.3.0/1.4.1.0
svpflow_cpu/gpu.dll: 1.7.2.0/1.7.7.0
21:53:42.512; Start: refresh autostart state in registry
21:53:42.514; Start: some more work with registry
21:53:42.517; Start: create menu. Duration: 9 ms
21:53:42.526; Start: update settings file settings.ini. Duration: 14 ms
21:53:42.540; Start: update monitor settings
21:53:42.541; Start: prepare "About the program" window. Duration: 6 ms
21:53:42.547; Updates: check for updates. Request sended
21:53:42.551; Start: enable ffdShow waiting mode
21:53:42.552; RefreshSVP
21:53:42.555; ===== Waiting for ffdshow video
21:53:42.556; Start: prepare to work is complete
21:53:42.770; Updates: connection opened
21:53:43.331; Updates: server answer:
HTTP/1.1 200 OK
Date: Thu, 13 Jun 2013 19:53:45 GMT
Server: Apache
Cache-Control: no-cache, must-revalidate
Expires: Sat, 26 Jul 1997 05:00:00 GMT
Vary: Accept-Encoding
Transfer-Encoding: chunked
Content-Type: text/html

10
3.1.4
17.02.2013

21:53:43.343; Updates: server answer:
0


21:53:49.164; ===== Detected playback with ffdShow
21:53:49.166; GetDimensionAndFPS_fromOSD start. Duration: 433 ms
21:53:49.599; GetDimensionAndFPS_fromOSD result: 1920x1080 23.976 1/1
21:53:49.603; T1T: begin
21:53:49.605; T1T: GetAllMediaParams
21:53:49.607; T1T: SettingsPrepare. Duration: 6 ms
21:53:49.613; T1T: Preparing smooth playback...
21:53:49.617; T1T: WriteAllMediaParamsToIni
21:53:49.619; SVPMgr: main "C:\Users\dsg\AppData\Roaming\SVP 3.1\" 1920 1080 23.976 1920 1080 5 2. Duration: 186 ms
21:53:49.805; ===== Playback
23.976 * (5 : 2) = 59.94 fps -(CF)-> 59.998 fps
21:53:49.806; SetPriorityPlayer: 2. Duration: 1262 ms
21:53:51.068; this is changing FalseVFR_Dwn. ffdShow-framerate: 21.719 SVP Index:0.21/0.32
21:53:52.005; this is changing FalseVFR_Dwn. ffdShow-framerate: 13.699 SVP Index:1.37/1.18
21:53:52.940; this is changing FalseVFR_Up. ffdShow-framerate: 21.912 SVP Index:1.05/1.84
21:53:53.338; Updates: connection closed
21:53:54.078; this is changing FalseVFR_Up. ffdShow-framerate: 23.596 SVP Index:0.57/0.67
21:53:55.014; this is changing FalseVFR_Up. ffdShow-framerate: 23.976 SVP Index:1.09/1.15
21:53:55.016; express clear interval
21:53:55.018; stabilized framerate: 23.976 fps
23:34:06.576; Error: Warning: there's a memory leak in the video player: 1795 MB
To prevent the closing of the player due to lack of memory a script restarted improve smoothness.
0:07:54.908; RefreshSVP
0:07:54.911; ===== Waiting for ffdshow video. Duration: 2191 ms
0:07:57.102; at start:0 at end:0 stable. Duration: 6960 ms
0:08:04.062; ===== Detected playback with ffdShow
0:08:04.065; GetDimensionAndFPS_fromOSD start. Duration: 563 ms
0:08:04.628; GetDimensionAndFPS_fromOSD result: 1920x1080 23.976 1/1
0:08:04.633; T1T: begin
0:08:04.636; T1T: GetAllMediaParams
0:08:04.640; T1T: SettingsPrepare. Duration: 7 ms
0:08:04.647; T1T: Preparing smooth playback...
0:08:04.650; T1T: WriteAllMediaParamsToIni
0:08:04.652; SVPMgr: main "C:\Users\dsg\AppData\Roaming\SVP 3.1\" 1920 1080 23.976 1920 1080 5 2. Duration: 77 ms
0:08:04.729; ===== Playback
23.976 * (5 : 2) = 59.94 fps -(CF)-> 59.998 fps
0:08:04.731; SetPriorityPlayer: 2. Duration: 2484 ms
0:08:07.215; this is changing FalseVFR_Dwn. ffdShow-framerate: 11.938 SVP Index:1.30/0.99
0:08:08.145; this is changing FalseVFR_Up. ffdShow-framerate: 21.53 SVP Index:1.02/1.96
0:08:09.081; this is changing FalseVFR_Up. ffdShow-framerate: 23.583 SVP Index:1.13/1.34
0:08:10.220; this is changing FalseVFR_Up. ffdShow-framerate: 23.976 SVP Index:0.98/0.89
0:08:10.222; express clear interval
0:08:10.225; stabilized framerate: 23.976 fps
0:25:43.321; Error: Warning: there's a memory leak in the video player: 1727 MB
To prevent the closing of the player due to lack of memory a script restarted improve smoothness.
0:51:25.446; ===== rewind backward 00:00:00 / 00:00:00. Duration: 84 ms
0:51:25.530; RefreshSVP
0:51:25.533; ===== Waiting for ffdshow video. Duration: 1580 ms
0:51:27.113; at start:0 at end:0 stable

Thank You!

Re: Error Log - Memory leak in video player

dsgnethu
What player and decoder are you using?

Re: Error Log - Memory leak in video player

MAG79 wrote:

dsgnethu
What player and decoder are you using?

I've no different player, other than included in SVP 3.1.4.

The player is MPC-HC version 1.6.5.6366 (744df1c).

Strange that in previous SVP versions, it won't use together the LAV and madVR. But now, it uses both. The issues comes out for every 1080p videos, but not comes out when playing 720p videos.

Re: Error Log - Memory leak in video player

dsgnethu
Solution (not final, but working for your, I think):
- SVP menu - Information - Hidden settings
- change there ReloadAVSFactor value to 0.8 or to 0
- close and exit notepad
- exit and reopen SVP

Try it please.

8 (edited by dsgnethu 06-07-2013 00:27:26)

Re: Error Log - Memory leak in video player

MAG79 wrote:

dsgnethu
Solution (not final, but working for your, I think):
- SVP menu - Information - Hidden settings
- change there ReloadAVSFactor value to 0.8 or to 0
- close and exit notepad
- exit and reopen SVP

Try it please.

Seems to be that this setting fixed it.

Regarding my other problem (skippy playback for 10 seconds when starting video) - I've read about problems on another topic with # of threads set to auto. I have core i7-960 with 8 logical cores, so according to suggestions read on that topic, I've modified the # of threads to 16. Now, the skippy playback less skippy and ends faster, also the video feels "more smooth". I've not modified any other settings.