Repository navigation
Description
Checklist
- I looked at https://github.com/PhoenixPE/PhoenixPE/wiki/FAQ to see if my question has already been answered.
- I performed a search in the issue tracker for similar issues using keywords relevant to my problem, such as the error message I got from the log.
Report
Describe what is happening
One of the svchost.exe process slowly consumes all free memory until no more memory is available, which results in Windows crashing/hanging. Happens with both Windows 11 22H2 (22621.382/22621.1702) and 23H2 (22631.2428) sources.
To Reproduce
Step-by-step instructions on how to reproduce the behavior:
- Make a stock PhoenixPE build.
- Boot ISO/flash drive.
- After 5-10 minutes the svchost.exe process associated with the AudioEndpointBuilder, StorSvc, and WlanSvc services will start increasing memory usage at ~100KB per second.
The service that seems to cause this problem is StorSvc, which is set to start manually/on trigger. Stopping the StorSvc service does prevent more memory from being consumed, but the existing consumed memory will not be released unless AudioEndpointBuilder and WlanSvc are also stopped, since that closes their related svchost.exe process.
First discovered issue on VirtualBox earlier this year, but I was able to replicate the issue on Lenovo and Dell laptops later on so it's not a VM-specific issue. In case the issue was caused by the computer making the build, I made the stock PhoenixPE build on two different machines, but both builds exhibit the issue.
This issue is not noticeable unless you are paying attention to Task Manager or use the PhoenixPE environment for multiple hours (which on computers with less RAM will crash sooner rather than later). Presumably, disabling the Storage Service would prevent this problem from happening, but I am not sure if Windows or other applications need this service in order to function properly.
Screenshots/Logs
Screenshots were taken at roughly 10 hours uptime


Activity
homes32 commentedon Sep 6, 2024
Thanks for all the work tracking this down. I have confirmed your findings. Next step is to find out what is manually triggering the service to start.
homes32 commentedon Oct 15, 2024
The trigger is in the service definition itself.
Through the process of elimination its subkeys 1 and 2 that trigger the StorSvc to startup (0 looks for a specific device on startup). these 2 triggers look for specific RPC packets on the network interface.
homes32 commentedon Nov 20, 2024
Update: The service is not present in build 24H2 (26100.1742).