INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: WDM driver memory leak? [Solved]  (Read 2330 times)

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3955
WDM driver memory leak? [Solved]
« on: July 29, 2020, 06:12:25 am »

bringing this longstanding issue fwd into MC26 - https://yabb.jriver.com/interact/index.php/topic,116500.msg805197.html (from MC24) and https://yabb.jriver.com/interact/index.php/topic,112027.0.html (from MC23 days)

I still get this on a regular basis and it becomes more of an issue as use of streaming services (and hence WDM driver) increases

to recap, issue is directly attributable to the WDM driver as simply stopping the WDM driver is sufficient to release the memory without any further intervention.

A nuclear option would be to upgrade to windows 10 but to my mind, it's only worth considering that if there is some material difference in how the WDM driver is implemented in Win10 vs Win8.1. Is there?

Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10707
Re: WDM driver memory leak
« Reply #1 on: July 29, 2020, 06:24:36 am »

We've never been able to reproduce this issue on any system we tried it on. I use the WDM driver a bunch myself. Can't fix what I can't see. And it seems oddly isolated to... just you? I don't remember any other reports of such issues.
I don't remember if you have ever re-installed the system in the time that you've been experiencing the issue, but considering how isolated it appears to be, doing that, or switching to Windows 10 seems like the best attempts to me.
Logged
~ nevcairiel
~ Author of LAV Filters

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3955
Re: WDM driver memory leak
« Reply #2 on: July 29, 2020, 06:40:29 am »

Yes that's correct, unfortunately though it probably means I have to give up using MC for this and find some other app that can do the DSP. Not ideal so thought I would raise it back up.

Is there a difference in how wdm is implemented or interacts with MC on Windows 10?
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71328
  • Where did I put my teeth?
Re: WDM driver memory leak
« Reply #3 on: July 29, 2020, 07:21:39 am »

Could the leak be in the driver for the audio device?  Try Direct Sound.

What is the driver?

If this were a problem with WDM, I think we'd see a lot of complaints.
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3955
Re: WDM driver memory leak?
« Reply #4 on: July 29, 2020, 07:27:53 am »

it has occurred with 3 different ASIO drivers (from motu, focusrite & RME) so I doubt it is the driver

directsound isn't an option

as per previous posts/threads, the only constant in all this is the WDM driver. For sure there is some specific behaviour here that mean I suffer the problem but working out what that is is another Q.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71328
  • Where did I put my teeth?
Re: WDM driver memory leak?
« Reply #5 on: July 29, 2020, 07:50:48 am »

Directsound as an experiment to try to separate where the problem is.  Or WASAPI.

The quality of ASIO drivers is more uneven.
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3955
Re: WDM driver memory leak?
« Reply #6 on: July 29, 2020, 09:18:15 am »

RME drivers are known to be amongst the best around
Motu drivers have been rock solid for me also

If it were the driver then I would get this at other times but I don't, it has literally never happened, only when wdm is in use.

Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3955
Re: WDM driver memory leak?
« Reply #7 on: July 29, 2020, 05:15:19 pm »

One thing I do make regular use of is MCWS/v1/Playback/StopAll

I have previously wondered if this unhinges something internally
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71328
  • Where did I put my teeth?
Re: WDM driver memory leak?
« Reply #8 on: July 29, 2020, 07:04:34 pm »

Try not using it.
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3955
Re: WDM driver memory leak?
« Reply #9 on: April 12, 2021, 03:43:41 pm »

Just to close this thread out. This problem has been persistent (i.e. multiple forced restarts required per day) up until the last week or so when I appear to have fixed it.... I'm not sure I can class this as a solution though as that involved building a new PC and migrating to Windows 10 (with the same physical hardware attached & the same MCWS calls being made). At least it is solved from my perspective but I guess it will remain a mystery forever as to what caused the leak!
Logged

mattkhan

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3955
Re: WDM driver memory leak?
« Reply #10 on: April 18, 2021, 07:15:28 am »

Just to close this thread out.
spoke too soon, still happens on the new machine
Logged
Pages: [1]   Go Up