windows 11 pro When JAVA heap expands in WSL2, system crashes

  • Thread starter Thread starter David Pickett1
  • Start date Start date
D

David Pickett1

Guest
I have a JAVA app that uses about 16GB VM. When I run a JAVA app in WSL2 with a large heap, windows crashes very quickly. Before it crashes, I can see the app using 8-12GB memory, presumably less when modified pages are moved to swap. I set the system VM to 1024-262144 so it can handle up to 256GB. When I run a gcc program under Linux Launcher to find the max malloc size, it says about 10GB. The JAVA app still crashes the system. I have all the current MS Windows Updates. The system has 16GB ram.Device name THIS-JRKDUTOF4M Processor AMD Ryzen 5 8600G w/ Radeon 760M Graphics 4.35

Continue reading...
 
Back
Top