Battlefield 2 invades the high-tech frontlines of modern warfare. The game brings the intensity and excitement of Battlefield 1942 into the modern era with enhanced team play and the latest, most technologically advanced vehicles and weapons systems available to man.

Post tutorial Report RSS Text: Failed to create dx texture even after going managed: Ran out of memory

I've been having this issue recently. I believe I reached a weapon cap as every time I try to add a weapon into a kit unlock this happens. Does anybody know how this is caused and a fix?

Posted by on - Intermediate Management

I am now experiencing a very bad crash of my game. I currently have 6 kits that come with 9 gun unlocks each for my US side and 4 kits with 9 gun unlocks each for my Insurgent side. I notice I crash if I add one more gun to my sniper kit. My sniper kit for Insurgents only has 3 guns but when I add the 4th it CTDs in 2 mins or less in the game. If I add a 5th gun the game crash with no CTD right at 100% load. I tried swapping the guns with different ones but it still occurs. I also disabled vehicles in the map I am testing it on. I don't know what to do because I want to keep adding to my mod. Plus I have a good PC so my computer should handle it. The crash I get is the one below. I am hoping this can be solved for me and anybody else who experience this!

Text: Failed to create dx texture even after going managed: Ran out of memory

Current confile:
Cancel Try Again Continue

For example

ObjectTemplate.addTemplate kni_machette_bf4
ObjectTemplate.addTemplate L4D2_MAC10
ObjectTemplate.addTemplate dod_k98k_sniper
ObjectTemplate.addTemplate bf4_rgo
ObjectTemplate.addTemplate usmin_m18a1
ObjectTemplate.addTemplate grapplinghook
ObjectTemplate.addTemplate acnt_crossbow_explosive
ObjectTemplate.addTemplate tkr_firstaid
ObjectTemplate.addTemplate ParachuteLauncher

ObjectTemplate.addTemplate UnlockINSSniper_1
ObjectTemplate.addTemplate UnlockINSSniper_2
ObjectTemplate.addTemplate UnlockINSSniper_3
ObjectTemplate.addTemplate UnlockINSSniper_4

ObjectTemplate.create ItemContainer UnlockINSSniper_1
ObjectTemplate.addTemplate dod_k98k
Objecttemplate.replaceItem dod_k98k_sniper
ObjectTemplate.unlockLevel 1

rem ----------------------------------------------------

ObjectTemplate.create ItemContainer UnlockINSSniper_2
ObjectTemplate.addTemplate g95Legend
Objecttemplate.replaceItem dod_k98k
Objecttemplate.replaceItem dod_k98k_sniper
ObjectTemplate.unlockLevel 2

rem ----------------------------------------------------

ObjectTemplate.create ItemContainer UnlockINSSniper_3
ObjectTemplate.addTemplate g95MarksmanLegend
Objecttemplate.replaceItem g95Legend
Objecttemplate.replaceItem dod_k98k
Objecttemplate.replaceItem dod_k98k_sniper
ObjectTemplate.unlockLevel 3

rem ----------------------------------------------------

ObjectTemplate.create ItemContainer UnlockINSSniper_4
ObjectTemplate.addTemplate bf1_lebel1886_4230
Objecttemplate.replaceItem g95MarksmanLegend
Objecttemplate.replaceItem g95Legend
Objecttemplate.replaceItem dod_k98k
Objecttemplate.replaceItem dod_k98k_sniper
ObjectTemplate.unlockLevel 4

My PC: Ryzen 7 1700 , RTX 2060, 16GB RAM, 4TB SSD, Windows 64-Bit

BF2 Version 1.5 32-Bit

All High settings

Post comment Comments
NAW_Kano
NAW_Kano - - 116 comments

I am not sure if this is a call for help or not but you have obviously run out of memory, 32 bit has a limit of memory it can use before the application will terminate its self,

in my testing of our unlocks tool i found this,

have 5 versions of the kits but look at the memory usage!
all testing done on (NAW) A Bad Surprise in single player.

14 unlocks end of round peak memory usage 3,355k
10 unlocks end of round peak memory usage 3,153k
6 unlocks end of round peak memory usage 2,886k
2 unlocks end of round peak memory usage 2,642k
0 unlocks end of round peak memory usage 2,517k

so you either need to reduce the number of kits or lower your grafix settings to free up some memory!

Reply Good karma Bad karma+5 votes
arcanjotox
arcanjotox - - 17 comments

ObjectTemplate.create ItemContainer UnlockUSMC_ARMA018
ObjectTemplate.replaceItem ussni_m40a5
ObjectTemplate.replaceItem M24_PRO
ObjectTemplate.replaceItem RemingtonR700
ObjectTemplate.replaceItem CheyTac_M300
ObjectTemplate.replaceItem CheyTac_M200
ObjectTemplate.replaceItem S_Tac_Aggressor
ObjectTemplate.replaceItem McMillanTac-50
ObjectTemplate.replaceItem McMillanCS5
ObjectTemplate.ADDTEMPLATE M200Sniper
ObjectTemplate.unlockLevel 8

Reply Good karma Bad karma+1 vote
Mortarty
Mortarty - - 335 comments

Did someone try this? It´s for BF2 (not just for BF2142):

Overclock.net

Reply Good karma Bad karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: