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