1.          Our team is looking for new blood.... could it be you?

          Help us move MBII forward with developing exciting new features!
          Support your favorite mod while gaining valuable experience!


          Join the MBII Team as a Beta Tester, Development Partner or Developer today! Click here for details.

[SOLVED] Z_Malloc(): Failed to alloc 4194304 bytes (TAG_TEMP_PNG) !!!!!

Discussion in 'Support' started by ELDYLO, Jan 22, 2017.

  1. ELDYLO

    ELDYLO

    Posts:
    9
    Likes Received:
    1
    Hi guys i'm having a problem with my game and i'm hoping you can help me fix it.

    i seem to crash to the MP console a lot, mostly when i'm loading a new map but i have crashed while playing mid-game or when i'm loging into a server and the game is loading the map
    i have the error code of when it crashes here.

    Z_Malloc(): Failed to alloc 4194304 bytes (TAG_TEMP_PNG) !!!!!
    ---------------------------------------------------------------------------
    Zone Tag Bytes
    -------- -----
    BOTLIB 7196 ( 0.00MB) in 2 blocks ( 3598 average)
    GENERAL 2152 ( 0.00MB) in 269 blocks ( 8 average)
    HUNK_MARK1 33116866 (31.58MB) in 44692 blocks ( 741 average)
    EVENT 69310 ( 0.06MB) in 77 blocks ( 900 average)
    FILESYS 5828715 ( 5.55MB) in 304 blocks ( 19173 average)
    AMBIENTSET 980 ( 0.00MB) in 7 blocks ( 140 average)
    SMALL 28739 ( 0.02MB) in 2270 blocks ( 12 average)
    MODEL_MD3 3437079 ( 3.27MB) in 167 blocks ( 20581 average)
    MODEL_GLM 19352351 (18.45MB) in 115 blocks ( 168281 average)
    MODEL_GLA 13025101 (12.42MB) in 7 blocks ( 1860728 average)
    SHADERTEXT 4339264 ( 4.13MB) in 1 blocks ( 4339264 average)
    SND_RAWDATA 867226 ( 0.82MB) in 15 blocks ( 57815 average)
    TEMP_PNG 3145728 ( 3.00MB) in 1 blocks ( 3145728 average)
    IMAGE_T 183744 ( 0.17MB) in 2088 blocks ( 88 average)
    INFLATE 44400 ( 0.04MB) in 4 blocks ( 11100 average)
    ---------------------------------------------------------------------------

    The zone is using 83448851 bytes (79.58MB) in 50019 memory blocks
    The zone peaked at 172953064 bytes (164.94MB)
    Shutting down OpenGL subsystem
    (Repeat): Z_Malloc(): Failed to alloc 4194304 bytes (TAG_TEMP_PNG) !!!!!

    I hope you guys can help
     
  2. lessen

    lessen Internal Beta Team

    Posts:
    499
    Likes Received:
    384
    What fixed this for me was turning down some graphical settings, like, I dunno, texture quality, or something. Still though, my computer should be more than powerful enough to handle this game so I imagine there's a better solution.
     
  3. ELDYLO

    ELDYLO

    Posts:
    9
    Likes Received:
    1
    It's gotten so bad that I can't even load up a map without it crashing. I've tried to lower my graphics settings but it does not work. please tell me there is a fix to this?
    I think it might have to do with Windows 10 but i can't be certain
     
  4. Puppytine

    Puppytine Slayed dreamer Technical & Gameplay Support

    Posts:
    1,122
    Likes Received:
    711
    Try lowering them to the ground.
    As low as possible.

    MBII Launcher => Settings => uncheck "Steam integration" (skip if there's no such checkbox) => Engine => MBII Client => Play.

    What is your videocard?
    If it's Intel, you've got problems. Intel is a known troublemaker for Movie Battles.
    Switch to dedicated graphic card, if you have one.
    Update drivers for a video.
    When I say "update", I also mean that probably you will have to install older drivers. Or newer. Or drivers for other OS (Win 7).
    You have to do some investigation on your own and try different drivers.

    Delete file "opengl32.dll" from "Jedi Academy\GameData" (but do not delete it from "Windows\System32").

    Copy file "opengl32.dll" from "Windows\System32" to "Jedi Academy\GameData".
     
  5. ent

    ent Movie Battles II Team

    Posts:
    637
    Likes Received:
    229
    Why? System32 folder has a global scope, so the dll will be loaded anyways.
     
  6. Puppytine

    Puppytine Slayed dreamer Technical & Gameplay Support

    Posts:
    1,122
    Likes Received:
    711
  7. DaloLorn

    DaloLorn Movie Battles II Team

    Posts:
    278
    Likes Received:
    121
    This is the first I've heard of copy-pasting from your system files, though... I've mostly read suggestions consisting of "Download this particular opengl32.dll I'm linking to, then put that in GameData".

    Edit: Yeah, tested it out on JK2, which hasn't worked since I got Windows 10. No luck.
     
  8. Puppytine

    Puppytine Slayed dreamer Technical & Gameplay Support

    Posts:
    1,122
    Likes Received:
    711
    I've heard that too.
    As you can see, both versions exist, though copying from System32 is voodoo indeed.
     
  9. ----Kas----

    ----Kas---- Internal Beta Team

    Posts:
    76
    Likes Received:
    75
    Do you use ATI Radeon graphic card?
     
  10. ELDYLO

    ELDYLO

    Posts:
    9
    Likes Received:
    1
    Seems the opendl32 idea worked. i haven't had a crash yet so i'm marking this post as solved
     

Share This Page