Strange 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

User avatar
SBF_Dann_Boeing
Groove Walrus
Groove Walrus
Posts: 1529
Joined: Wed Aug 31, 2005 11:33 pm
xbox live or psn: No gamertag set
Location: An Igloo High Upon a Mountain Top

Strange Error

Post by SBF_Dann_Boeing »

After trying to run my map in the Programmer Build (BF2_modtools.exe) my map crashes and I get a weird error in my BFront2.txt.

Error for con CW
Message Severity: 2
.\Memory\RedMemory.cpp(634)
Allocating 52368 bytes attempt failed - no free blocks left in Heap 5 (Runtime)

Message Severity: 3
.\Memory\RedMemory.cpp(538)
Allocating 52368 bytes failed - no free blocks left in Heap 5 (Runtime)
Error for con GCW
Message Severity: 2
.\Memory\RedMemory.cpp(634)
Allocating 15360 bytes attempt failed - no free blocks left in Heap 5 (Runtime)

Message Severity: 3
.\Memory\RedMemory.cpp(538)
Allocating 15360 bytes failed - no free blocks left in Heap 5 (Runtime)
does anyone have any clue what this means?
Last edited by SBF_Dann_Boeing on Sat Sep 16, 2006 1:16 pm, edited 2 times in total.
Darth_Z13
Jedi High Council
Jedi High Council
Posts: 2275
Joined: Sat Jun 17, 2006 9:51 am
xbox live or psn: Xanthius Wylon
Location: Canada

RE: Strange Error

Post by Darth_Z13 »

I got an error like that once. I think it means you are running out of memory. When I removed a few objects, my game went on running fine.
User avatar
SBF_Dann_Boeing
Groove Walrus
Groove Walrus
Posts: 1529
Joined: Wed Aug 31, 2005 11:33 pm
xbox live or psn: No gamertag set
Location: An Igloo High Upon a Mountain Top

RE: Strange Error

Post by SBF_Dann_Boeing »

that sucks..., i have hardly any objects in my map, its mainly terrain, tho i am using modded sides...u sure there's no way to fix this without takin stuff out...

my addon folder size is 691MB (about the same as some of my other maps which work perfectly) it has a 115MB LVL and 573MB SIDE
User avatar
SBF_Dann_Boeing
Groove Walrus
Groove Walrus
Posts: 1529
Joined: Wed Aug 31, 2005 11:33 pm
xbox live or psn: No gamertag set
Location: An Igloo High Upon a Mountain Top

RE: Strange Error

Post by SBF_Dann_Boeing »

Also what's weird is that it worked the way it was, i just modded sides some more and then i get this message, i didn't put anything in zeroedit.
User avatar
[SBF]ATATFIGHTR
Chief Warrant Officer
Chief Warrant Officer
Posts: 338
Joined: Sun Mar 12, 2006 12:22 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: The US, in the state of UTAH

RE: Strange Error

Post by [SBF]ATATFIGHTR »

hmmmm wierd.
User avatar
SBF_Dann_Boeing
Groove Walrus
Groove Walrus
Posts: 1529
Joined: Wed Aug 31, 2005 11:33 pm
xbox live or psn: No gamertag set
Location: An Igloo High Upon a Mountain Top

RE: Strange Error

Post by SBF_Dann_Boeing »

Do I have to reset the SetMemoryPoolSize Values in my lua's?
User avatar
SBF_Dann_Boeing
Groove Walrus
Groove Walrus
Posts: 1529
Joined: Wed Aug 31, 2005 11:33 pm
xbox live or psn: No gamertag set
Location: An Igloo High Upon a Mountain Top

RE: Strange Error

Post by SBF_Dann_Boeing »

Ok I lowered those and now it works
User avatar
SBF_Dann_Boeing
Groove Walrus
Groove Walrus
Posts: 1529
Joined: Wed Aug 31, 2005 11:33 pm
xbox live or psn: No gamertag set
Location: An Igloo High Upon a Mountain Top

RE: Strange Error

Post by SBF_Dann_Boeing »

Gah nvm. It crashes during play, with the same memory errors. in GCW it crashes before the map starts like before....
Darth_Z13
Jedi High Council
Jedi High Council
Posts: 2275
Joined: Sat Jun 17, 2006 9:51 am
xbox live or psn: Xanthius Wylon
Location: Canada

RE: Strange Error

Post by Darth_Z13 »

573MB SIDE
?!?!?

WOW, that would be your problem. How much memory does your computer have? The reason this is happening is because you don't have enough memory to run the game, so it shuts down. Resize your side's man and try it again.
User avatar
SBF_Dann_Boeing
Groove Walrus
Groove Walrus
Posts: 1529
Joined: Wed Aug 31, 2005 11:33 pm
xbox live or psn: No gamertag set
Location: An Igloo High Upon a Mountain Top

RE: Strange Error

Post by SBF_Dann_Boeing »

I have another map with a 760MB Side and it works fine...
Darth_Z13
Jedi High Council
Jedi High Council
Posts: 2275
Joined: Sat Jun 17, 2006 9:51 am
xbox live or psn: Xanthius Wylon
Location: Canada

RE: Strange Error

Post by Darth_Z13 »

Well I don't know then. Still, you should lower the size and try it.
User avatar
SBF_Dann_Boeing
Groove Walrus
Groove Walrus
Posts: 1529
Joined: Wed Aug 31, 2005 11:33 pm
xbox live or psn: No gamertag set
Location: An Igloo High Upon a Mountain Top

RE: Strange Error

Post by SBF_Dann_Boeing »

Still Doesn't Work...this is really starting to piss me off...
Darth_Z13
Jedi High Council
Jedi High Council
Posts: 2275
Joined: Sat Jun 17, 2006 9:51 am
xbox live or psn: Xanthius Wylon
Location: Canada

RE: Strange Error

Post by Darth_Z13 »

OK, in order to free up memory, turn your computer off for like four hours. Then restart it and see if it works.
t551
General
General
Posts: 791
Joined: Sat Jul 16, 2005 3:23 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

RE: Strange Error

Post by t551 »

What are you talking about?!?!? The amount of time it's off has no impact on memory.

Just reduce the size of each individual side by splitting your large side into two smaller sides, and doing the necessary .lua calls from each.
Darth_Z13
Jedi High Council
Jedi High Council
Posts: 2275
Joined: Sat Jun 17, 2006 9:51 am
xbox live or psn: Xanthius Wylon
Location: Canada

RE: Strange Error

Post by Darth_Z13 »

I read to do that in a computer magazine.
Droideka88

RE: Strange Error

Post by Droideka88 »

Dann on your data_***, open Sides, and for each one, open up the req file. In there contains hex codes. Delete any unnecessary codes. That will decrease your map size a lot.
User avatar
SBF_Dann_Boeing
Groove Walrus
Groove Walrus
Posts: 1529
Joined: Wed Aug 31, 2005 11:33 pm
xbox live or psn: No gamertag set
Location: An Igloo High Upon a Mountain Top

RE: Strange Error

Post by SBF_Dann_Boeing »

Although that reduced my SIDE size emmensely down to 250Megs i still get the same errors

So the size of my SIDE doesn't seem to be the problem as it worked fine at 500 and higher
User avatar
SBF_Dann_Boeing
Groove Walrus
Groove Walrus
Posts: 1529
Joined: Wed Aug 31, 2005 11:33 pm
xbox live or psn: No gamertag set
Location: An Igloo High Upon a Mountain Top

RE: Strange Error

Post by SBF_Dann_Boeing »

I need to get this fixed, this is an important map im working on (Realm of Chaos)

Does anyone know how to get rid of this
".\Memory\RedMemory.cpp(538)
Allocating 52368 bytes failed - no free blocks left in Heap 5 (Runtime)" error so it doesn't crash?
t551
General
General
Posts: 791
Joined: Sat Jul 16, 2005 3:23 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

RE: Strange Error

Post by t551 »

Try munging the sides in a different map, and see if you get the same error.
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: Strange Error

Post by Teancum »

SBF_Dann_Boeing wrote:EMessage Severity: 2
.\Memory\RedMemory.cpp(634)
Allocating 52368 bytes attempt failed - no free blocks left in Heap 5 (Runtime)

Message Severity: 3
.\Memory\RedMemory.cpp(538)
Allocating 52368 bytes failed - no free blocks left in Heap 5 (Runtime)
Those types of errors mean that you hit the memory limit for the game. If you have lots of objects, you need to bring the amount down, take a look at your memory pools and kill/lower the pools to what you only need, etc etc.
Post Reply