cRPG

Beta => WSE2 Beta => Resolved Issues => Topic started by: Elio on August 15, 2012, 07:19:45 pm

Title: [Done] DirectX memory leaked at exiting
Post by: Elio on August 15, 2012, 07:19:45 pm
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)



Title: Re: [Bug] DirectX memory leaked at exiting
Post by: Jarlek on August 15, 2012, 11:59:08 pm
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.
Title: Re: [Bug] DirectX memory leaked at exiting
Post by: cmp on August 16, 2012, 12:06:22 am
http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx

Elio, can you post your config? Also, did you change graphics settings during those sessions?
Title: Re: [Bug] DirectX memory leaked at exiting
Post by: Elio on August 16, 2012, 07:14:49 am
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)
Title: Re: [Bug] DirectX memory leaked at exiting
Post by: cmp on August 16, 2012, 02:56:52 pm
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?
Title: Re: [Done] DirectX memory leaked at exiting
Post by: Elio on August 17, 2012, 08:03:41 am
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 (http://pastebin.com/NgMY8Kkz)

(click to show/hide)

And then when I removed this tool :

Log without FXAA_Injector (http://pastebin.com/EbWXhVjq)

(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
 (http://img402.imageshack.us/img402/7267/20120817074144amjhms1.jpg) visitors can't see pics , please register or login
 (http://img819.imageshack.us/img819/3561/20120817074147amjhms2.jpg)
visitors can't see pics , please register or login
 (http://img11.imageshack.us/img11/2214/20120817074206amjhms1.jpg) visitors can't see pics , please register or login
 (http://img525.imageshack.us/img525/8861/20120817074207amjhms1.jpg)
visitors can't see pics , please register or login
 (http://img100.imageshack.us/img100/595/20120817074231amjhms2.jpg) visitors can't see pics , please register or login
 (http://img846.imageshack.us/img846/2826/20120817074231amjhms1.jpg)
visitors can't see pics , please register or login
 (http://img16.imageshack.us/img16/6766/20120817074425amjhms2.jpg) visitors can't see pics , please register or login
 (http://img542.imageshack.us/img542/3851/20120817074429amjhms3.jpg)

(click to show/hide)


(click to show/hide)
Title: Re: [Done] DirectX memory leaked at exiting
Post by: cmp on August 17, 2012, 11:27:57 pm
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.