microsoft / WSA

Developer-related issues and feature requests for Windows Subsystem for Android
MIT License
1.45k stars 798 forks source link

WSA may have memory leakage and WSA occupies double the RAM #549

Open Vector2053 opened 3 months ago

Vector2053 commented 3 months ago

Steps to reproduce

I have set a maximum of 2GB of RAM for wsa.When wsa is running, vmmem occupies 2GB of RAM, but wsaClient still occupies a considerable amount of RAM。The RAM,which is occupied by wsaClient, is directly allocated by Windows, not used in vmmem.Over time, it will occupy more and more RAM. Unless WSA is closed, it will not recycle RAM.

✔️ Expected Behavior

WsaClient should not occupy extra RAM

❌ Actual Behavior

WsaClient occupies extra RAM,and it will not recycle RAM. Snipaste_2024-03-26_22-25-14 Snipaste_2024-03-26_22-25-57

Other Software

No response

Please specify the version of Windows Subsystem for Android

2311.40000.5