Author Topic: [Done] DirectX memory leaked at exiting  (Read 1119 times)

0 Members and 1 Guest are viewing this topic.

Offline Elio

  • Marshall
  • ********
  • Renown: 737
  • Infamy: 20
  • cRPG Player Sir Black Pawn A Gentleman and a Scholar
  • The treeee!
    • View Profile
    • Calradia's Maps Explorer
  • Game nicks: Elio
[Done] DirectX memory leaked at exiting
« on: August 15, 2012, 07:19:45 pm »
0
Hi,

Well, you have nicely fixed the crashs due to out of memory.

But I just have a crash at exiting everytime.

DirectX memory leaked

today : 16 unreleased resources
last night : 89 unreleased resources

(click to show/hide)

(click to show/hide)


I noticed something out of crpg :
(click to show/hide)



« Last Edit: August 17, 2012, 07:19:36 am by Elio »

Offline Jarlek

  • King
  • **********
  • Renown: 1173
  • Infamy: 307
  • cRPG Player Sir White Pawn A Gentleman and a Scholar
  • The walking wiki
    • View Profile
  • Game nicks: Jarlek_The_Blue, Jarla, Jarlen, Jarler, Jarlec, Jarled OH GOD ALL THESE ALTS
  • IRC nick: Jarlek
Re: [Bug] DirectX memory leaked at exiting
« Reply #1 on: August 15, 2012, 11:59:08 pm »
0
visitors can't see pics , please register or login



I restarted process then it took 'only' 100 MB with pages site reloaded in game.

visitors can't see pics , please register or login

Sort of off topic, but how did you do that? Been looking for a way to monitor how much resources my programs use.
This game isn't about being skillful as much as its about saying things in general chat that enrage people who then go to murder you but in their rage they make dumb mistakes which gets them killed.
In memory of Jarlek_zeh_Blue, ruler of Ilvia

Offline cmp

  • M:BG Developer
  • Supreme Overlord
  • *******
  • Renown: 2052
  • Infamy: 569
  • cRPG Player
    • View Profile
  • IRC nick: cmp
Re: [Bug] DirectX memory leaked at exiting
« Reply #2 on: August 16, 2012, 12:06:22 am »
0
http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx

Elio, can you post your config? Also, did you change graphics settings during those sessions?

Offline Elio

  • Marshall
  • ********
  • Renown: 737
  • Infamy: 20
  • cRPG Player Sir Black Pawn A Gentleman and a Scholar
  • The treeee!
    • View Profile
    • Calradia's Maps Explorer
  • Game nicks: Elio
Re: [Bug] DirectX memory leaked at exiting
« Reply #3 on: August 16, 2012, 07:14:49 am »
0
Elio, can you post your config? Also, did you change graphics settings during those sessions?
Nop I didn't changed anything, I have this every time 100% I close the game, even when I don't rejoin a server and close immediatly :

(click to show/hide)


(click to show/hide)

Offline cmp

  • M:BG Developer
  • Supreme Overlord
  • *******
  • Renown: 2052
  • Infamy: 569
  • cRPG Player
    • View Profile
  • IRC nick: cmp
Re: [Bug] DirectX memory leaked at exiting
« Reply #4 on: August 16, 2012, 02:56:52 pm »
0
It happens even if you open the game and close it as soon as it reaches the menu? In that case, is the "unreleased resources" always 16?

Offline Elio

  • Marshall
  • ********
  • Renown: 737
  • Infamy: 20
  • cRPG Player Sir Black Pawn A Gentleman and a Scholar
  • The treeee!
    • View Profile
    • Calradia's Maps Explorer
  • Game nicks: Elio
Re: [Done] DirectX memory leaked at exiting
« Reply #5 on: August 17, 2012, 08:03:41 am »
0
Hmmm ok this bug come from FXAA_Injector, I removed files from the Warband directory :

d3d9.dll
shader.fx
FXAA_Tool.exe
injFX_Shaders\


With FXAA_Injector I have this memory leak every time I close the game and exactly 16 if I close the game without playing :

Log without FXAA_Injector

(click to show/hide)

And then when I removed this tool :

Log without FXAA_Injector

(click to show/hide)

Sorry for this wrong report.





Anyway I'll keep playing with this tool because without this the game seem to me completely dull and ugly :

visitors can't see pics , please register or login
visitors can't see pics , please register or login

visitors can't see pics , please register or login
visitors can't see pics , please register or login

visitors can't see pics , please register or login
visitors can't see pics , please register or login

visitors can't see pics , please register or login
visitors can't see pics , please register or login


(click to show/hide)


(click to show/hide)
« Last Edit: August 17, 2012, 08:07:09 am by Elio »

Offline cmp

  • M:BG Developer
  • Supreme Overlord
  • *******
  • Renown: 2052
  • Infamy: 569
  • cRPG Player
    • View Profile
  • IRC nick: cmp
Re: [Done] DirectX memory leaked at exiting
« Reply #6 on: August 17, 2012, 11:27:57 pm »
0
Okay, so that solves it.
Probably the programmer of that tool was lazy and didn't add proper cleanup. As long as it's just a crash when exiting the game it's not really a problem.