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
SBF_Dann_Boeing
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
Post
by SBF_Dann_Boeing » Sat Sep 16, 2006 12:02 pm
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
Posts: 2275 Joined: Sat Jun 17, 2006 9:51 am
xbox live or psn: Xanthius Wylon
Location: Canada
Post
by Darth_Z13 » Sat Sep 16, 2006 12:17 pm
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.
SBF_Dann_Boeing
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
Post
by SBF_Dann_Boeing » Sat Sep 16, 2006 12:22 pm
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
SBF_Dann_Boeing
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
Post
by SBF_Dann_Boeing » Sat Sep 16, 2006 12:45 pm
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.
[SBF]ATATFIGHTR
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
Post
by [SBF]ATATFIGHTR » Sat Sep 16, 2006 12:47 pm
hmmmm wierd.
SBF_Dann_Boeing
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
Post
by SBF_Dann_Boeing » Sat Sep 16, 2006 12:56 pm
Do I have to reset the SetMemoryPoolSize Values in my lua's?
SBF_Dann_Boeing
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
Post
by SBF_Dann_Boeing » Sat Sep 16, 2006 1:10 pm
Ok I lowered those and now it works
SBF_Dann_Boeing
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
Post
by SBF_Dann_Boeing » Sat Sep 16, 2006 1:17 pm
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
Posts: 2275 Joined: Sat Jun 17, 2006 9:51 am
xbox live or psn: Xanthius Wylon
Location: Canada
Post
by Darth_Z13 » Sat Sep 16, 2006 1:33 pm
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.
SBF_Dann_Boeing
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
Post
by SBF_Dann_Boeing » Sat Sep 16, 2006 1:35 pm
I have another map with a 760MB Side and it works fine...
Darth_Z13
Jedi High Council
Posts: 2275 Joined: Sat Jun 17, 2006 9:51 am
xbox live or psn: Xanthius Wylon
Location: Canada
Post
by Darth_Z13 » Sat Sep 16, 2006 1:37 pm
Well I don't know then. Still, you should lower the size and try it.
SBF_Dann_Boeing
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
Post
by SBF_Dann_Boeing » Sat Sep 16, 2006 1:47 pm
Still Doesn't Work...this is really starting to piss me off...
Darth_Z13
Jedi High Council
Posts: 2275 Joined: Sat Jun 17, 2006 9:51 am
xbox live or psn: Xanthius Wylon
Location: Canada
Post
by Darth_Z13 » Sat Sep 16, 2006 1:51 pm
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
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
Post
by t551 » Sat Sep 16, 2006 2:05 pm
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
Posts: 2275 Joined: Sat Jun 17, 2006 9:51 am
xbox live or psn: Xanthius Wylon
Location: Canada
Post
by Darth_Z13 » Sat Sep 16, 2006 2:07 pm
I read to do that in a computer magazine.
Droideka88
Post
by Droideka88 » Sat Sep 16, 2006 2:09 pm
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.
SBF_Dann_Boeing
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
Post
by SBF_Dann_Boeing » Sat Sep 16, 2006 7:01 pm
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
SBF_Dann_Boeing
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
Post
by SBF_Dann_Boeing » Sun Sep 17, 2006 12:43 pm
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
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
Post
by t551 » Sun Sep 17, 2006 1:23 pm
Try munging the sides in a different map, and see if you get the same error.
Teancum
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
Post
by Teancum » Sun Sep 17, 2006 3:29 pm
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.