Jump to content
  • Advertisement
Sign in to follow this  
Fatarobot

Memoleaks

This topic is 2369 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"]I was asked[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]to complete[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]an application[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]in which there was[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]a memory leak[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]in several places.[/font][color="#333333"][font="arial, sans-serif"]Previous[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]developer[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]was[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]very[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]stupid.[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]I did everything[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]perfectly[/font][color="#333333"][font="arial, sans-serif"],[/font]cool.gif [color="#333333"][font="arial, sans-serif"] but now[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]I'm wondering[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]what else[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]there is[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]utility[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]to monitor[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]memory leaks[/font][color=#333333][font=arial, sans-serif]?[/font] [color="#333333"][font="arial, sans-serif"]Now I[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]only know[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]about vingrad[/font][color="#333333"][font="arial, sans-serif"].[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]But[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]it[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]does not suit me[/font][color="#333333"][font="arial, sans-serif"].[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]Who[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]uses[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]what[/font][color="#333333"][font="arial, sans-serif"]?[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]Advise[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]me[/font][color="#333333"][font="arial, sans-serif"]![/font]rolleyes.gif
[color="#333333"][font="arial, sans-serif"]Thank you.[/font]dry.gif

Share this post


Link to post
Share on other sites
Advertisement

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


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

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

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 windowsunsure.gif. [color="#333333"][font="arial, sans-serif"]I found[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]2 programs[/font][color="#333333"][font="arial, sans-serif"]: visual leak detector[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]and[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]deleaker.[/font][color="#333333"][font="arial, sans-serif"]The last[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]is the most powerful[/font][color="#333333"][font="arial, sans-serif"], but it is[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]paid.[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]I'm[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]thinking[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]- is it worth[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]buying it[/font][color="#333333"][font="arial, sans-serif"]?[/font]wink.gif[color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]can[/font][color="#333333"][font="arial, sans-serif"] [/font][color="#333333"][font="arial, sans-serif"]advise me [/font][color="#333333"][font="arial, sans-serif"]something free[/font][color="#333333"][font="arial, sans-serif"]?[/font]

Thanks to allrolleyes.gif

Share this post


Link to post
Share on other sites
[color=#333333][font=arial, sans-serif][size=1] [/font][color=#333333][font=arial, sans-serif]

As for me[/font][color=#333333][font=arial, sans-serif]

, I like[/font][color=#333333][font=arial, sans-serif]

[/font][color=#333333][font=arial, sans-serif]

deleaker[/font][color=#333333][font=arial, sans-serif]

[/font][color=#333333][font=arial, sans-serif]

because[/font][color=#333333][font=arial, sans-serif]

[/font][color=#333333][font=arial, sans-serif]

it shows[/font][color=#333333][font=arial, sans-serif]

[/font][color=#333333][font=arial, sans-serif]

where the[/font][color=#333333][font=arial, sans-serif]

[/font][color=#333333][font=arial, sans-serif]

leak[/font][color=#333333][font=arial, sans-serif]

[/font][color=#333333][font=arial, sans-serif]

is[/font][color=#333333][font=arial, sans-serif]

?xactly[/font][color=#333333][font=arial, sans-serif]

(stack[/font][color=#333333][font=arial, sans-serif]

[/font][color=#333333][font=arial, sans-serif]

with the[/font][color=#333333][font=arial, sans-serif]

[/font][color=#333333][font=arial, sans-serif]

leakph34r.png ph34r.png ph34r.png [/font][color=#333333][font=arial, sans-serif]

).[/font][color=#333333][font=arial, sans-serif]

For windows[/font][color=#333333][font=arial, sans-serif]

[/font][color=#333333][font=arial, sans-serif]

it is a good[/font][color=#333333][font=arial, sans-serif]

[/font][color=#4D90F0][font=arial, sans-serif]

instrument[/font][color=#333333][font=arial, sans-serif]

.[/font][color=#333333][font=arial, sans-serif]

[/font][color=#333333][font=arial, sans-serif]

About[/font][color=#333333][font=arial, sans-serif]

[/font][color=#333333][font=arial, sans-serif]

valgrind[/font][color=#333333][font=arial, sans-serif]

[/font][color=#333333][font=arial, sans-serif]

- also[/font][color=#333333][font=arial, sans-serif]

[/font][color=#333333][font=arial, sans-serif]

an excellent program[/font][color=#333333][font=arial, sans-serif]

, but not[/font][color=#333333][font=arial, sans-serif]

[/font][color=#333333][font=arial, sans-serif]

for windows[/font][font="arial, sans-serif"][size="3"][color="#333333"]blink.png[/font][color=#333333][font=arial, sans-serif][size=1] [/font][font="arial, sans-serif"][size="3"][color="#333333"]wacko.png[/font]

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!