Hello @aklak ,
I would treat this as memory exhaustion first, not as a minifilter failure. And the Surface should be innocent. But, based on the public information availalbe, I would not assume this issue is known.
What is the root cause of the error?
I can’t name a confirmed root cause from the current data, but I would look at TE.ProcessHost.exe first. The event log says it reached about 63 GB of virtual memory, then other components started failing with insufficient memory.
To separate a user-mode leak from kernel pool growth, capture memory snapshots before the test and after each cycle:
mkdir C:\HLKDiag
tasklist /v > C:\HLKDiag\tasklist_before.txt
wmic process get Name,ProcessId,PageFileUsage,WorkingSetSize,VirtualSize > C:\HLKDiag\process_before.txt
poolmon /b > C:\HLKDiag\poolmon_before.txt
Repeat those commands after each cycle, changing the file names to cycle1, cycle2, and so on.
Also, you should arm ProcDump before the run so the machine captures TE.ProcessHost.exe before it falls over:
procdump64.exe -accepteula -ma -m 8192 -n 1 -s 10 -w TE.ProcessHost.exe C:\HLKDiag
ProcDump’s memory trigger is documented here: ProcDump - Sysinternals.
Can I workaround the problem?
TestCycles=3 is useful for narrowing the issue, but I would not assume it is acceptable for certification unless the submission path allows that parameter change.
For the next default TestCycles=4 run, I’d increase the page file, keep the machine as clean as possible, and collect the TE.ProcessHost.exe dump plus the poolmon snapshots. If TE.ProcessHost.exe grows each cycle while pool stays stable, the test host is the likely problem. If pool grows each cycle, the pool tags will tell you which driver/component to chase.
I would also try one run with Microsoft Defender real-time protection temporarily disabled, only in an isolated lab setup, because your event log shows MsMpEng.exe in the memory list too. I do not think Defender is the main suspect, but it is easy to remove that variable for one controlled run.
- Increase the page file manually before the run, so the system has more room to survive long enough to collect dumps.
- Make sure the client has plenty of free disk space before starting the test.
- Disconnect unnecessary peripherals.
- Stop nonessential background software.
- Keep the HLK controller and client on the same/latest HLK build.
- Run RAMMap before and during the test to see whether memory is going into process private bytes, driver locked memory, mapped files, or standby/cache. RAMMap is available here: RAMMap - Sysinternals.
If you want a trace rather than just snapshots, Windows Performance Recorder can capture memory/pool activity. The command-line options are documented here: WPR command-line options.
mkdir C:\HLKDiag\Traces
wpr -start Memory -start PoolUsage
Then stop it after the third cycle or immediately when memory starts climbing:
wpr -stop C:\HLKDiag\Traces\hlk_memory.etl
If the machine reboots before you can stop the trace, then ProcDump plus periodic poolmon snapshots will probably be more useful.
I hope this helps you troubleshoot the issue. If you found this informative, please consider providing a feedback following this guide.
Thank you.