Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-254054

Game instantly crashes, fails to add PDH counter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.19
    • None
    • Unconfirmed
    • (Unassigned)

      I was originally trying to launch on 1.18.1 but the same problem also arises for 1.19.

      I'm not sure how this problem could have arisen, I launched Minecraft fine a couple hours ago and nothing has changed except some episodes when my computer ran out of memory, and that's when I closed Minecraft. Looking at other threads with the same crash problem, this seems to be an oshi problem but it doesn't make sense how this is now a problem when it wasn't earlier. Fixes were discussed in those threads but I have no knowledge of how java works and am therefore unable to interpret those solutions. I tried deleting the .minecraft folder but was unable to, and deleting and reinstalling the regular way doesn't seem to change anything. 

       
      20:03:49.039
      launcher
      main
      Using default game log configuration client-1.12.xml (outputs XML)
      20:03:51.208
      oshi.util.platform.windows.PerfDataUtil
      main
      Failed to add PDH Counter: \Paging File(_Total)% Usage, Error code: 0xC0000BB8
      20:03:51.211
      oshi.util.platform.windows.PerfCounterQueryHandler
      main
      Failed to add counter for PDH counter: \Paging File(_Total)% Usage
      20:03:51.211
      oshi.util.platform.windows.PerfCounterQuery
      main
      Disabling further attempts to query Paging File.
      20:03:52.070
      oshi.util.platform.windows.WmiQueryHandler
      main
      COM exception: Invalid Query: SELECT PERCENTUSAGE FROM Win32_PerfRawData_PerfOS_PagingFile
      20:03:56.575
      com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService
      Render thread
      Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
      20:03:57.596
      launcher
      main
      OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x000000065a000000, 2852126720, 0) failed; error='The paging file is too small for this operation to complete' (DOS error/errno=1455) # # There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (mmap) failed to map 2852126720 bytes for G1 virtual space # An error report file with more information is saved as: # C:\Users\ajrul\AppData\Roaming\.minecraft\hs_err_pid15952.log
      20:03:57.605
      monitor
      Process Monitor
      Process crashed with exit code 1

            Unassigned Unassigned
            Ript1deTheOtter Ript1deTheOtter
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: