Post feature Report RSS Hunk error,an error thats not really an error.

Some people might encounter this while loading certain levels; "Hunk_AllocatteTempMemory: failed on 1048621 byte (total 200MB, low 2MB, high 197MB), needs283965 more hunk bytes" Its not an error,here`s an explanation on how to solve this issue.

Posted by on

Check your system memory(not your graphics card memory),if it is 1024mb ram or higher you are ok,if under 1024mb you have a bad system.Go to the Call of Duty 2 main->players->"profile name" folder and open the file config.cfg,notepad will do.
Search for the line;
seta com_hunkMegsDefault this will say;seta com_hunkMegs "200".
This is too low,you will have to change it.
Change the figure "200" to "512".
Save the file and try the level,again.You can also do this through console,ofcourse.
Start the game.
Open the console and type;
com_hunkMegs 512
Press enter,close console and load the level.

Post comment Comments
Saladofstones
Saladofstones - - 263 comments

I try, but even if I change it using the console AND the config, it says "com_hunksmegs 200"
"latched value 512"
"default 200"

ERROR: xmodel 'viewmodel_hands_cod2' not found
ERROR: Cannot find xmodel 'viewmodel_hands_cod2'.
WARNING: gun and/or hand model file for weapon [WEAPON_DEFAULTWEAPON] could not be found, switching to default weapon.
WARNING: Part 'tag_weapon' not found in model 'DEFAULT' or any of its descendants
recursive error after: Hunk_AllocAlign failed on 166080 bytes (total 200 MB, low 1 MB, high 198 MB)

Reply Good karma Bad karma+3 votes
WCP75 Author
WCP75 - - 193 comments

Then you are doing something wrong,because as you can see yourself the total is still set to 200.Check your config.cfg file with notepad and check if its really on 512,not on 200.By the way,do you have 1 gig or more system memory?Or else the game wont accept the change.

Reply Good karma+3 votes
Guest
Guest - - 691,211 comments

This comment is currently awaiting admin approval, join now to view.

Modlover15
Modlover15 - - 26 comments

When i try to save the config file it says acces denied

Reply Good karma Bad karma+1 vote
rontogabi
rontogabi - - 1 comments

Sziasztok! Nálam ezt írja ki: hunk_Allocalign failed 364066 bytes.
( total 200 MB, low 1 MB, high 198 MB )
Ha valaki tudna segíteni nagyon örülnék neki.

Reply Good karma Bad karma0 votes
Guest
Guest - - 691,211 comments

This comment is currently awaiting admin approval, join now to view.

jlytszint
jlytszint - - 4 comments

cod2 ahova telepítedet a játékot ott a b2f mappa players a név amit be álítotál config.cfg ott ki keresed hogy seta com_hunkMegs "200" és a 200 at át írod 512-re mentes a változtásokat majd a játékban a consolet megnyitod ha mincs engedéyezve options game options enable console meg nyomod a 0-át és be írod hogycom_hunkMegs 512

Reply Good karma Bad karma0 votes
BetterWarrior
BetterWarrior - - 134 comments

I Switch it to 512 and still the first map of D-Day Crash after start.

And i have 2 GigaByte

Reply Good karma Bad karma+1 vote
Davichagas
Davichagas - - 15 comments

It worked perfect for me .Thanks a lot

Reply Good karma Bad karma+1 vote
Guest
Guest - - 691,211 comments

This comment is currently awaiting admin approval, join now to view.

Guest
Guest - - 691,211 comments

This comment is currently awaiting admin approval, join now to view.

cigoizagvozda
cigoizagvozda - - 8 comments

I Switch it to 512 and still it crash (i have 4 gb ram) (i have pc version not console)

Reply Good karma Bad karma+2 votes
RyanzTheRussian
RyanzTheRussian - - 12 comments

bruh you are no call of duty player

Reply Good karma Bad karma-1 votes
Guest
Guest - - 691,211 comments

This comment is currently awaiting admin approval, join now to view.

Guest
Guest - - 691,211 comments

This comment is currently awaiting admin approval, join now to view.

bibito15
bibito15 - - 2 comments

Hey guys,remember to switch your game to windows xp service pack 3 compatibility mode and run it as admin.It only worked here for me after doing this.

Reply Good karma Bad karma+2 votes
FlyingTank
FlyingTank - - 4 comments

Thanks for the help!
It worked for me

Reply Good karma Bad karma+1 vote
PRX996
PRX996 - - 13 comments

thank you dude, rly saved me

Reply Good karma Bad karma+1 vote
markriese
markriese - - 2 comments

translate my post from italian.

Su Win XP, se nel collegamento ci sono i cheat per giocare (+set thereisacow 1337+set developer 1+set sv_cheats 1 +set monkeytoy 0+set fs_game b2f) il gioco genera una serie di errori (tipo: Hunk_AAllocAlign failed on 252656 bytes - total 200 MB, low is 1 Mb high 198 Mb).
Questo è un errore generico. In realtà, i codici sono stati rimossi e la memoria non accetta linguaggi estranei. Questa la verità. Credo.

Ho giocato in SP la versione scaricabile di B2f e ho trovato assurde le impostazioni dei Bot. Veramente assurde. nel Livello (molto bello) di Lamaire vedono il player da distanze impossibili e attraverso i materiali.
Questo è insostenibile. Per contro, livelli come Radio base sono di una facilità imbarazzante. Peccato, perchè il design poteva imprimere al gioco un bel pathos se il gioco fosse stato più bilanciato. Lo trovo troppo dipendente dallo sviluppatore. Fosse uno sviluppo col fine commerciale sarebbe probabilmente invendibile. Forse lo sviluppatore dei livelli non gioca a Call of Duty.

Reply Good karma Bad karma+1 vote
Guest
Guest - - 691,211 comments

This comment is currently awaiting admin approval, join now to view.

Guest
Guest - - 691,211 comments

This comment is currently awaiting admin approval, join now to view.

Guest
Guest - - 691,211 comments

This comment is currently awaiting admin approval, join now to view.

Guest
Guest - - 691,211 comments

This comment is currently awaiting admin approval, join now to view.

Guest
Guest - - 691,211 comments

This comment is currently awaiting admin approval, join now to view.

Guest
Guest - - 691,211 comments

Saludos, intale el ultimo mos de call of duty pero no puedo jugar las dos ultimas misinoes del juego. Ya lo complete todo y alcompletar la mision donde defiendo la iglesia hasta que lleguen los refuerzos me regresa a la mision prisionero de guerra. ¿Me faltara alguna actualizacion? ¿Que puedo hacer?

Reply Good karma Bad karma0 votes
Guest
Guest - - 691,211 comments

This comment is currently awaiting admin approval, join now to view.

gracjanski
gracjanski - - 22 comments

recursive error after: Hunk_AllocAlign failed on 252656 bytes (total 200 MB, low 1 MB, high 198 MB)

yes, I changed to com_hunkMegs 512

and somehow the game overwrote it. Did it again and now it works.

Reply Good karma Bad karma+1 vote
Guest
Guest - - 691,211 comments

This comment is currently awaiting admin approval, join now to view.

Guest
Guest - - 691,211 comments

This comment is currently awaiting admin approval, join now to view.

Guest
Guest - - 691,211 comments

This comment is currently awaiting admin approval, join now to view.

themasterofpeepee
themasterofpeepee - - 32 comments

how do i fix "recursive error after:Hunk_AllocateTempMemory: failed on 255459 bytes 9total 200 MB, low 1 MB, high 198 MB), needs 76483 more hunk bytes. I did what you said but it didn't work

Reply Good karma Bad karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: