effect causing runtime error?

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

effect causing runtime error?

Post 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?
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: effect causing runtime error?

Post 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.
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Re: effect causing runtime error?

Post 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.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: effect causing runtime error?

Post by Teancum »

Huh. Was the effect really long or complicated? There's not much memory that's allocatable to FX.
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Re: effect causing runtime error?

Post 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.
Post Reply