Can't allocate the DIB handle (Full Version)

All Forums >> [New Releases from Matrix Games] >> Flashpoint Campaigns Series >> Mods and Scenarios



Message


Bigfish -> Can't allocate the DIB handle (9/11/2019 10:27:36 PM)

Hi there,


how to deal with this error message:



Can't allocate the DIB handle



In the editor everything seems fine, but shortly after starting the game - selfmade scenario with selfmade unit database - i get this error.




Eiterfeld Map with approx 950 german runners and 1900 soviet runners - is it realy too much?


Game version is 2.0.14. Computer with 32GB RAM, 4k-Display!

Thanks in advance
Bigfish




CapnDarwin -> RE: Can't allocate the DIB handle (9/11/2019 11:53:13 PM)

That might be too big on the 32bit engine code. How many counters and map objects are you running? I want to say windows can only deal with 3000-4000 handles (working on getting a more definitive answer from the guys). The Fulda scenario is a good one to look at becasue it sit right up on the safe limit and it can crash if there are too many kill or crater or smoke markers dumped on the map.




Bigfish -> RE: Can't allocate the DIB handle (9/12/2019 7:53:49 AM)

Ok thank you for your fast response. Next questions:



Is this behavior more map size related or more unit count related?



With "Southern Storm" (I think 64bit?) - will it be possible to import old scenarios?
If not - is it possible to use the old maps?
Is it possible with "Southern Storm" to create own databases like it is done in FPRS?






CapnDarwin -> RE: Can't allocate the DIB handle (9/12/2019 10:23:55 AM)

1). The handles issue is graphics issue and it is impacted by both map size (number of hexes) and then graphic elements (number of counters and map markers).

2). Southern Storm is based on our new Cold War game engine. That is a 64bit code that runs a bit quicker and can handle slightly larger maps and unit counts, but still has some windows limits on object handles. We have done some code changes to hopefully deal with the limit hit in Red Storm.

3). Compatibility. The quick answer there is no. The game engine code has changed, the map files format has changed, and the data structures and number of elements has changed. Unfortunately, that means scenarios and maps need to be rebuilt to meet the new structures. We would have liked to have been compatible, but the shear number of changes to improve the game meant there was no going back. On our end, we are planning after the release of Southern Storm to work on a number of expansions and one will be a reboot of the Red Storm/Germany Reforged content.

4). Modding. Fully supported as before, but with more documentation and a validation tool for data file editing. You will still be able to make scenarios and campaigns. Like Red Storm, map making will still be an external process. We have more detailed documentation,but there should is no push a button map maker and won't be one for the foreseeable future. There will be a new map values editor though. There are other items that can be edited and a few new things I can't talk about right now.

I hope that answers the questions. Let us knock w if you have any more. [8D]




Jo van der Pluym -> RE: Can't allocate the DIB handle (9/12/2019 11:15:30 AM)

About Work on Southern Storm continues and we will hopefully have news about our new website and even whispers of Beta Testing soon!

Is it all possible for sign up for beta testing?




CapnDarwin -> RE: Can't allocate the DIB handle (9/12/2019 11:58:29 AM)

Jo, once we are ready to go that way we will let folks know and I am sure there will be the basic Matrix Beta announcement, sign up, and then NDAs to sign. Good chance we may have a small start group early and then add more down the road later in the year as well. We will note your interest. [8D]




Bigfish -> RE: Can't allocate the DIB handle (9/12/2019 6:53:55 PM)

OK thanks - so i have to deal with it...




IronManBeta -> RE: Can't allocate the DIB handle (9/14/2019 2:39:59 PM)

I'm a little late on this, but how far into the game is it throwing this error? If it is close to the beginning then we are out of luck - there are just too many units. If you have gotten well into the game then we might be able to 'fix' it by purging the save game file of discarded graphics info. I believe we did that before for someone else. Post your save file here or send me a dropbox link or whatever and I will take a look.




Bigfish -> RE: Can't allocate the DIB handle (9/15/2019 8:55:04 AM)

Hi and thank you.


It happens directly at startup before Turn 1. Now i lowered the number of runners from both sides - i try to do not zoom close into the map. (It happens while i zoomed into the map 160% +)


So i was able to play some few turns. I hope this is enough to get through. Otherwise i have to rewrite the story from my aar [8|]


I hope not to encounter this error again in late game...




sirfulcrum -> RE: Can't allocate the DIB handle (11/21/2019 3:02:36 AM)

I'm getting this error and all I'm doing is starting up The Bear Attacks scenario and scrolling/zooming around. I haven't hit "start" on the battle. Is there any fix to this?




CapnDarwin -> RE: Can't allocate the DIB handle (11/21/2019 7:01:17 PM)

The Fulda map and the high unit count unfortunately cause this issue with Red Storm's 32 bit game engine. You can avoid this in some cases by not zooming the map. Saving often wan running is a good idea as well as other markers like wrecks and craters will push other DIB limits to failure. Sorry there is not a better answer. [8D]




WildCatNL -> RE: Can't allocate the DIB handle (11/21/2019 7:03:50 PM)


quote:

ORIGINAL: sirfulcrum

I'm getting this error and all I'm doing is starting up The Bear Attacks scenario and scrolling/zooming around. I haven't hit "start" on the battle. Is there any fix to this?


I'm sorry, we don't have a solid fix for this. "Don't zoom" is the best advice.
The DIB error results from memory address fragmentation in the 2GB address space that the Win32 process has available. This fragmentation is hard to predict, except that the less you do, especially loading scenarios and zooming in/out, the less fragmentation you'll have.
We didn't start to fully appreciate this problem until far down the Southern Storm road, where we ended up making the switch to 64bit because of this.

William




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
1.953125