•     Please make sure you check the Support FAQ and relevant Guides before you create a new thread in this section!

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

Posts
11
Likes
3
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
 

Lessen

pew pew
Movie Battles II Team
Posts
1,251
Likes
995
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.
 
Posts
11
Likes
3
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
 

Puppytine

Slayed dreamer
Posts
2,237
Likes
1,487
I've tried to lower my graphics settings but it does not work. please tell me there is a fix to this?
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".
 

DaloLorn

Movie Battles II Team Retired
Posts
408
Likes
261
Yeah I know that's strange, but that have been suggested here and there, so I decided to add it as well.
Technical Issue - Z_Malloc error
[SOLVED] - Windows 10 issues

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.
 

Puppytine

Slayed dreamer
Posts
2,237
Likes
1,487
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.
I've heard that too.
As you can see, both versions exist, though copying from System32 is voodoo indeed.
 
Top