SOLVED Critical memory allocation error

Discussion in 'Bug Reports' started by Nick9320, May 13, 2023.

  1. Nick9320

    Nick9320 Registered

    Joined:
    Feb 8, 2012
    Messages:
    430
    Likes Received:
    2,815
    Got this error after the fresh Win 10 install

    Any clues how to fix that? :(

    upload_2023-5-13_16-47-10.png
     
  2. Alex Sawczuk

    Alex Sawczuk Administrator Staff Member

    Joined:
    Oct 4, 2010
    Messages:
    851
    Likes Received:
    971
    make sure to install all the support/runtime exes
     
    Nick9320 likes this.
  3. davehenrie

    davehenrie Registered

    Joined:
    Jul 6, 2016
    Messages:
    7,492
    Likes Received:
    4,407
    The four runtime programs are located here:
    Program Files (x86)\Steam\steamapps\common\rFactor 2\Support\Runtimes
    (if you are using the default installation pathways)
     
    Nick9320 likes this.
  4. Nick9320

    Nick9320 Registered

    Joined:
    Feb 8, 2012
    Messages:
    430
    Likes Received:
    2,815
    @Alex Sawczuk @davehenrie works perfectly for me, thanks!

    I reinstalled all the four packages (even the ones were installed already with clicking on Repair buton)

    upload_2023-5-13_20-43-35.png
     
    davehenrie likes this.
  5. Nick9320

    Nick9320 Registered

    Joined:
    Feb 8, 2012
    Messages:
    430
    Likes Received:
    2,815
    @Alex Sawczuk @davehenrie Sorry guys it doesn't work! Now it's appearing all the time randomly when I'm trying to load car in showroom or track :(

    For some reason it's not even using the memory, I have like less than 50% of RAM but it's still crashing the game with same error
     
  6. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,395
    Likes Received:
    6,611
    Do you know if you have modified your windows virtual memory settings? It should be set to "Let windows manage" or whatever that option is. Also you have disk space free?

    @Nick9320 in case you're not sure, press Windows+R on your keyboard and type:
    sysdm.cpl

    and press Enter. Then go to the Advanced tab, and click the first Settings button (in the Performance section).

    Finally, go to the Advanced tab, and where it says how much Virtual memory you have click Change. Let us know what that says, or take a screenshot of it.


    Sorry for the convoluted instructions, I don't know an easier way to get there...

    (often people limit or even disable virtual memory because they think they can speed their system by doing so, which doesn't help anything and can cause this error. Conversely, sometimes [more rarely] the auto option can produce this error, and setting a generous static size will help)
     
    Last edited: May 14, 2023
  7. Nick9320

    Nick9320 Registered

    Joined:
    Feb 8, 2012
    Messages:
    430
    Likes Received:
    2,815
    So before it was 0

    I set it up to system choice and it's on 2942 Mb. I can see cars in menu but I cannot load to the track :(
     
  8. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,395
    Likes Received:
    6,611
    You do have spare disk space, right?

    You could try setting it to like 20000 MB (minimum and maximum) and see if that helps. If not just put it back on Auto (you definitely do NOT want it on 0). Maybe there's something else that can cause that error.
     
    Nick9320 likes this.
  9. Nick9320

    Nick9320 Registered

    Joined:
    Feb 8, 2012
    Messages:
    430
    Likes Received:
    2,815
    I've set it up for min 3000 and max 20000, works perfectly fine for me. Thanks! :rolleyes:
     

Share This Page