sourcepawn icon indicating copy to clipboard operation
sourcepawn copied to clipboard

`Exception reported: Not enough space on the heap` for string arrays

Open etkaar opened this issue 5 months ago • 2 comments

new String:Messages[32][1024]; causes Exception reported: Not enough space on the heap on runtime at least in 1.12.

This was not an issue in 1.10.

etkaar avatar Jul 21 '25 19:07 etkaar

I can't reproduce this, do you have an example script?

dvander avatar Sep 13 '25 20:09 dvander

Hmm, not really unfortunately, it is really huge. I had to use following to fix it:

#pragma dynamic 1048576

etkaar avatar Sep 13 '25 20:09 etkaar