Sign in to follow this  

Memoleaks

This topic is 2118 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

[color="#333333"][font="arial, sans-serif"][size="2"]I was asked[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]to complete[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]an application[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]in which there was[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]a memory leak[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]in several places.[/size][/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]Previous[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]developer[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]was[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]very[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]stupid.[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]I did everything[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]perfectly[/size][/font][/color][color="#333333"][font="arial, sans-serif"][size="2"],[/size][/font][/color][img]http://public.gamedev.net/public/style_emoticons/default/cool.gif[/img] [color="#333333"][font="arial, sans-serif"][size="2"] but now[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]I'm wondering[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]what else[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]there is[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]utility[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]to monitor[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]memory leaks[/size][/font][/color][size="2"][color=#333333][font=arial, sans-serif]?[/font][/color][/size] [color="#333333"][font="arial, sans-serif"][size="2"]Now I[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]only know[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]about vingrad[/size][/font][/color][color="#333333"][font="arial, sans-serif"][size="2"].[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]But[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]it[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]does not suit me[/size][/font][/color][color="#333333"][font="arial, sans-serif"][size="2"].[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]Who[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]uses[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]what[/size][/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]?[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]Advise[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]me[/size][/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]![/size][/font][/color][img]http://public.gamedev.net/public/style_emoticons/default/rolleyes.gif[/img]
[color="#333333"][font="arial, sans-serif"][size="2"]Thank you.[/size][/font][/color][img]http://public.gamedev.net/public/style_emoticons/default/dry.gif[/img]

Share this post


Link to post
Share on other sites
[quote name='Fatarobot' timestamp='1322681940' post='4889169']
[color="#333333"][font="arial, sans-serif"][size="2"]I was asked[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]to complete[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]an application[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]in which there was[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]a memory leak[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]in several places.[/size][/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]Previous[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]developer[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]was[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]very[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]stupid.[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]I did everything[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]perfectly[/size][/font][/color][color="#333333"][font="arial, sans-serif"][size="2"],[/size][/font][/color][img]http://public.gamedev.net/public/style_emoticons/default/cool.gif[/img] [color="#333333"][font="arial, sans-serif"][size="2"] but now[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]I'm wondering[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]what else[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]there is[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]utility[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]to monitor[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]memory leaks[/size][/font][/color][size="2"][color="#333333"][font="arial, sans-serif"]?[/font][/color][/size] [color="#333333"][font="arial, sans-serif"][size="2"]Now I[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]only know[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]about vingrad[/size][/font][/color][color="#333333"][font="arial, sans-serif"][size="2"].[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]But[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]it[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]does not suit me[/size][/font][/color][color="#333333"][font="arial, sans-serif"][size="2"].[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]Who[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]uses[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]what[/size][/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]?[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]Advise[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]me[/size][/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]![/size][/font][/color][img]http://public.gamedev.net/public/style_emoticons/default/rolleyes.gif[/img]
[color="#333333"][font="arial, sans-serif"][size="2"]Thank you.[/size][/font][/color][img]http://public.gamedev.net/public/style_emoticons/default/dry.gif[/img]
[/quote]

I use valgrind, but its Linux only, something like IBMs Rational Purify should work really well though and i think the non free versions of visual studio might have something built in these days. (Not sure about express)

Share this post


Link to post
Share on other sites
Under VIsual Studio, I personnaly use [url="http://vld.codeplex.com/"]visual leak detector[/url]. [url="http://vld.codeplex.com/"]
[/url]

Share this post


Link to post
Share on other sites
[quote name='SimonForsman' timestamp='1322685057' post='4889185']
[quote name='Fatarobot' timestamp='1322681940' post='4889169']
[color="#333333"][font="arial, sans-serif"][size="2"]I was asked[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]to complete[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]an application[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]in which there was[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]a memory leak[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]in several places.[/size][/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]Previous[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]developer[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]was[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]very[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]stupid.[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]I did everything[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]perfectly[/size][/font][/color][color="#333333"][font="arial, sans-serif"][size="2"],[/size][/font][/color][img]http://public.gamedev.net/public/style_emoticons/default/cool.gif[/img] [color="#333333"][font="arial, sans-serif"][size="2"] but now[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]I'm wondering[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]what else[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]there is[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]utility[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]to monitor[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]memory leaks[/size][/font][/color][size="2"][color="#333333"][font="arial, sans-serif"]?[/font][/color][/size] [color="#333333"][font="arial, sans-serif"][size="2"]Now I[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]only know[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]about vingrad[/size][/font][/color][color="#333333"][font="arial, sans-serif"][size="2"].[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]But[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]it[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]does not suit me[/size][/font][/color][color="#333333"][font="arial, sans-serif"][size="2"].[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]Who[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]uses[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]what[/size][/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]?[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]Advise[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]me[/size][/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]![/size][/font][/color][img]http://public.gamedev.net/public/style_emoticons/default/rolleyes.gif[/img]
[color="#333333"][font="arial, sans-serif"][size="2"]Thank you.[/size][/font][/color][img]http://public.gamedev.net/public/style_emoticons/default/dry.gif[/img]
[/quote]
I use valgrind, but its Linux only, something like IBMs Rational Purify should work really well though and i think the non free versions of visual studio might have something built in these days. (Not sure about express)
[/quote]

Thank you, but I use windows[img]http://public.gamedev.net/public/style_emoticons/default/unsure.gif[/img]. [color="#333333"][font="arial, sans-serif"][size="2"]I found[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]2 programs[/size][/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]: visual leak detector[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]and[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]deleaker.[/size][/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]The last[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]is the most powerful[/size][/font][/color][color="#333333"][font="arial, sans-serif"][size="2"], but it is[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]paid.[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]I'm[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]thinking[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]- is it worth[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]buying it[/size][/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]?[/size][/font][/color][img]http://public.gamedev.net/public/style_emoticons/default/wink.gif[/img][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]can[/size][/font][/color][color="#333333"][font="arial, sans-serif"] [/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]advise me [/size][/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]something free[/size][/font][/color][color="#333333"][font="arial, sans-serif"][size="2"]?[/size][/font][/color]

Thanks to all[img]http://public.gamedev.net/public/style_emoticons/default/rolleyes.gif[/img]

Share this post


Link to post
Share on other sites
[quote name='Pasparty' timestamp='1330368114' post='4917085']
try deleaker - powerful tool [img]http://public.gamedev.net//public/style_emoticons/default/smile.png[/img]
[/quote]
thanks [img]http://public.gamedev.net//public/style_emoticons/default/cool.png[/img] interesting tool

Share this post


Link to post
Share on other sites
[color=#333333][font=arial, sans-serif][size=1] [/size][/font][/color][color=#333333][font=arial, sans-serif][size=4]As for me[/size][/font][/color][color=#333333][font=arial, sans-serif][size=4], I like[/size][/font][/color][color=#333333][font=arial, sans-serif][size=4] [/size][/font][/color][color=#333333][font=arial, sans-serif][size=4]deleaker[/size][/font][/color][color=#333333][font=arial, sans-serif][size=4] [/size][/font][/color][color=#333333][font=arial, sans-serif][size=4]because[/size][/font][/color][color=#333333][font=arial, sans-serif][size=4] [/size][/font][/color][color=#333333][font=arial, sans-serif][size=4]it shows[/size][/font][/color][color=#333333][font=arial, sans-serif][size=4] [/size][/font][/color][color=#333333][font=arial, sans-serif][size=4]where the[/size][/font][/color][color=#333333][font=arial, sans-serif][size=4] [/size][/font][/color][color=#333333][font=arial, sans-serif][size=4]leak[/size][/font][/color][color=#333333][font=arial, sans-serif][size=4] [/size][/font][/color][color=#333333][font=arial, sans-serif][size=4]is[/size][/font][/color][color=#333333][font=arial, sans-serif][size=4] ?xactly[/size][/font][/color][color=#333333][font=arial, sans-serif][size=4](stack[/size][/font][/color][color=#333333][font=arial, sans-serif][size=4] [/size][/font][/color][color=#333333][font=arial, sans-serif][size=4]with the[/size][/font][/color][color=#333333][font=arial, sans-serif][size=4] [/size][/font][/color][color=#333333][font=arial, sans-serif][size=4]leak[img]http://public.gamedev.net//public/style_emoticons/default/ph34r.png[/img] [img]http://public.gamedev.net//public/style_emoticons/default/ph34r.png[/img] [img]http://public.gamedev.net//public/style_emoticons/default/ph34r.png[/img] [/size][/font][/color][color=#333333][font=arial, sans-serif][size=4]).[/size][/font][/color][color=#333333][font=arial, sans-serif][size=4]For windows[/size][/font][/color][color=#333333][font=arial, sans-serif][size=4] [/size][/font][/color][color=#333333][font=arial, sans-serif][size=4]it is a good[/size][/font][/color][color=#333333][font=arial, sans-serif][size=4] [/size][/font][/color][color=#4D90F0][font=arial, sans-serif][size=4]instrument[/size][/font][/color][color=#333333][font=arial, sans-serif][size=4].[/size][/font][/color][color=#333333][font=arial, sans-serif][size=4] [/size][/font][/color][color=#333333][font=arial, sans-serif][size=4]About[/size][/font][/color][color=#333333][font=arial, sans-serif][size=4] [/size][/font][/color][color=#333333][font=arial, sans-serif][size=4]valgrind[/size][/font][/color][color=#333333][font=arial, sans-serif][size=4] [/size][/font][/color][color=#333333][font=arial, sans-serif][size=4]- also[/size][/font][/color][color=#333333][font=arial, sans-serif][size=4] [/size][/font][/color][color=#333333][font=arial, sans-serif][size=4]an excellent program[/size][/font][/color][color=#333333][font=arial, sans-serif][size=4], but not[/size][/font][/color][color=#333333][font=arial, sans-serif][size=4] [/size][/font][/color][color=#333333][font=arial, sans-serif][size=4]for windows[/size][/font][/color][font="arial, sans-serif"][size="3"][color="#333333"][img]http://public.gamedev.net//public/style_emoticons/default/blink.png[/img][/color][/size][/font][color=#333333][font=arial, sans-serif][size=1] [/size][/font][/color][font="arial, sans-serif"][size="3"][color="#333333"][img]http://public.gamedev.net//public/style_emoticons/default/wacko.png[/img][/color][/size][/font]

Share this post


Link to post
Share on other sites
Thanks to all for responses [img]http://public.gamedev.net//public/style_emoticons/default/smile.png[/img]

Share this post


Link to post
Share on other sites

This topic is 2118 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this