AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   Solved [L4D2]Not enough space on the heap?(Solved) (https://forums.alliedmods.net/showthread.php?t=342377)

King_OXO 04-06-2023 14:16

[L4D2]Not enough space on the heap?(Solved)
 
SOLVED

SOLUTION:

PHP Code:

it was just putting #pragma dynamic 131072 in the compiler that solved it 

PROBLEM:

I was playing when suddenly "Not enough space on the heap" appears in the errors log.

I looked for the error in the plugin and found that this:

PHP Code:

    int count;
    
count kv.GetNum("cutcount"0); //the "count" is in the value of 1823.
    
char[][] names = new char[count][32]; 

when I reduce the value, the plugin returns to normal, can I use the high value but without giving this error("Not enough space on the heap")?


All times are GMT -4. The time now is 05:35.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.