I can't use more than 1024 com_hunkmegs


(Ayacca) #1

Hi

I can’t use more than 1024 com_hunkmegs despite the fact windows says 4176 Mo free

My computer has 6Go of ram

More than 4 are free

But I can’t use more than 1024

Et says “Hunk data failed to allocate -2048 megs”

what is happening?


(Dragonji) #2

Why would you set such a high value in the first place? ET will never use that much even 256 would be more than enough.


(IRATA) #3

Beside the above statement is correct you are probably trying to set a negative com_hunkmegs value.

Com_Error(ERR_FATAL, “Com_InitHunkMemory: Hunk data failed to allocate %i megs”, s_hunkTotal / (1024 * 1024));

-2048 = s_hunkTotal / (1024 * 1024) …?! (s_hunkTotal is your value)


Even people with poor RAM should know ET isn’t only using memory from q3 memory system (hunk- & zonemegs). It’s also bypassing this and allocates own memory for images and such. For vanilla ET a good com_hunkmegs value is 128.

Conclusion: Ayacca should set 6GB of RAM so the system hopefully starts swapping or paging.