Page 1 of 1

effect causing runtime error?

Posted: Thu Sep 06, 2007 5:36 pm
by Caleb1117
Message Severity: 3
.\Memory\RedMemory.cpp(538)
Allocating 192 bytes failed - no free blocks left in Heap 5 (Runtime)
Its obvious this is crashing my map, and the only recent change is me making a custom effect.
why is this?

Re: effect causing runtime error?

Posted: Thu Sep 06, 2007 5:42 pm
by Teancum
You're over the memory limit the game has. Try removing stuff until it works again. You might have just one asset that's being a big resource hog.

Re: effect causing runtime error?

Posted: Thu Sep 06, 2007 6:11 pm
by Caleb1117
it was the effect, something was definatly wrong with it.
I manually removed the last emitter from the .fx file, and resaved in PE and its back.

Re: effect causing runtime error?

Posted: Thu Sep 06, 2007 6:33 pm
by Teancum
Huh. Was the effect really long or complicated? There's not much memory that's allocatable to FX.

Re: effect causing runtime error?

Posted: Thu Sep 06, 2007 6:36 pm
by Caleb1117
not overly, but it jumped from about 12 kb to 56 or something, and when I opened it there were several lines that where excessively repeated.