Windows 10: windows 11 pro When JAVA heap expands, system crashes

Discus and support windows 11 pro When JAVA heap expands, system crashes in Windows 10 Software and Apps to solve the problem; I have a JAVA app that uses about 16GB VM. When I run a JAVA app with a large heap, windows crashes very quickly. Before it crashes, I can see the app... Discussion in 'Windows 10 Software and Apps' started by David Pickett1, Jul 3, 2024.

  1. windows 11 pro When JAVA heap expands, system crashes


    I have a JAVA app that uses about 16GB VM. When I run a JAVA app 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 GHz Inst

    :)
     
    David Pickett1, Jul 3, 2024
    #1

  2. windows 11 pro When JAVA heap expands in WSL2 or command line, system crashes

    On many cases the RAM is sufficient, so I felt a low starting swap size was not a big deal. It crashes the system the same with the system managed size. If it creates delays when expanding, that is still no cause for crashes. I ran it in a bat file with a double quoted full path to the java.exe, and with output redirected, and the system dies if I run the bat from the windows command line or run the .class from the WSL2 Ubuntu bash command line. I expanded WSL2 max heap but that does not seem to help, either. There seems to be another bug in the WSL2, as setting it to 128GB got me a max malloc of 20GB. I have gone much bigger in real Linux Ubuntu after adding to the swap space.

    Like any .exe, Release 22 java.exe should not be able to crash Windows 11.
     
    David Pickett1, Jul 3, 2024
    #2
  3. windows 11 pro When JAVA heap expands in WSL2 or command line, system crashes

    I have a JAVA app that uses about 16GB VM. When I run a JAVA app in WSL2 or from the command line 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 GHz

    Installed RAM 16.0 GB (15.1 GB usable)

    Device ID 3EFA41D1-EBD7-47BE-B233-CFF95EF63B4F

    Product ID 00330-80000-00000-AA218

    System type 64-bit operating system, x64-based processor

    Pen and touch No pen or touch input is available for this display

    Edition Windows 11 Pro

    Version 22H2

    Installed on ‎7/‎1/‎2024

    OS build 22621.3737

    Experience Windows Feature Experience Pack 1000.22700.1009.0


    windows 11 pro When JAVA heap expands, system crashes EOyTRKGaapJ1aLpuOm2FPnEbVZyZHtcxr3DE%2BVxDGgy%2BPsz3pQdpyL7HEP49M8HUB3sOAfaqG0pLnjIKnBkVAx8HQ%3D.png


    Primes2.java Primes2.java app to find largest primes less than 2^N,
     
    David Pickett1, Jul 3, 2024
    #3
  4. HHFY Win User

    windows 11 pro When JAVA heap expands, system crashes

    In Windows 11 power-saving mode, clicking the Windows Focus prompt on the lock screen will cause a system crash.

    Problem description: As the title suggests.

    Steps to reproduce:

    1. Enter Windows 11 power-saving mode.
    2. Click the Windows Focus prompt on the lock screen.
    Expected result: The login screen should appear and after logging in, the browser should automatically open to view content.

    Actual result: The system crashes.

    Device information:

    • Windows 11 version: 22H2 (22621.1413)
    • Device: Lenovo Xiaoxin 14 Pro 2021
    • CPU: AMD Ryzen 7 5800H
    Other information:

    • When plugged in, the system automatically turns off power-saving mode and cannot be turned on manually. The function works normally.
    • When unplugged, turn off power-saving mode and the function works normally.
    • When unplugged, turn on power-saving mode and the system crashes.
     
    HHFY, Jul 3, 2024
    #4
Thema:

windows 11 pro When JAVA heap expands, system crashes

Loading...
  1. windows 11 pro When JAVA heap expands, system crashes - Similar Threads - pro JAVA heap

  2. windows 11 pro When JAVA heap expands in WSL2 or command line, system crashes

    in Windows 10 Gaming
    windows 11 pro When JAVA heap expands in WSL2 or command line, system crashes: I have a JAVA app that uses about 16GB VM. When I run a JAVA app in WSL2 or from the command line 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...
  3. windows 11 pro When JAVA heap expands in WSL2 or command line, system crashes

    in Windows 10 Software and Apps
    windows 11 pro When JAVA heap expands in WSL2 or command line, system crashes: I have a JAVA app that uses about 16GB VM. When I run a JAVA app in WSL2 or from the command line 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...
  4. windows 11 pro When JAVA heap expands in WSL2, system crashes

    in Windows 10 Gaming
    windows 11 pro When JAVA heap expands in WSL2, system crashes: 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...
  5. windows 11 pro When JAVA heap expands in WSL2, system crashes

    in Windows 10 Software and Apps
    windows 11 pro When JAVA heap expands in WSL2, system crashes: 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...
  6. windows 11 pro When JAVA heap expands, system crashes

    in Windows 10 Gaming
    windows 11 pro When JAVA heap expands, system crashes: I have a JAVA app that uses about 16GB VM. When I run a JAVA app 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...
  7. Windows 11 Pro Full System Crash

    in Windows 10 Gaming
    Windows 11 Pro Full System Crash: Windows 10 Pro x64 ALL UPDATES + Windows 11 Pro x64 ALL UPDATES- full system crash : screen goes blank, audio stutters for approx. 5 seconds then cuts off completely, the only thing you can do is push the reset button on the PC case NO BSOD info the the screen remains blank-...
  8. Windows 11 Pro Full System Crash

    in Windows 10 Software and Apps
    Windows 11 Pro Full System Crash: Windows 10 Pro x64 ALL UPDATES + Windows 11 Pro x64 ALL UPDATES- full system crash : screen goes blank, audio stutters for approx. 5 seconds then cuts off completely, the only thing you can do is push the reset button on the PC case NO BSOD info the the screen remains blank-...
  9. Minecraft Java crashing on launch Windows 11

    in Windows 10 Gaming
    Minecraft Java crashing on launch Windows 11: The game has been crashing on launch on multiple different versions of the game. Been happening for a while, I've updated my drivers, tried disabling DEP, UAC, and other various tweaks but nothing seems to work. The file is too large so I've linked it in a pastebin:...
  10. Windows explorer crashes when copying files (corrupted heap?)

    in Windows 10 BSOD Crashes and Debugging
    Windows explorer crashes when copying files (corrupted heap?): When I try to copy files, explorer.exe crashes. Randomly in the middle of a file transfer, it looks like explorer refreshes and then the copying is no longer happening. I looked around in many forum posts and ended up following some instructions in other questions to...