Tech ARP Forums

Go Back   Tech ARP Forums > Software Discussion > General Software
Register
FAQ Members List Calendar Arcade Mark Forums Read

Google Web www.techarp.com forums.techarp.com

General Software This is the forum for general discussions about software.

Reply
 
LinkBack Thread Tools
Old 31st Jan 2006, 06:29 AM   #1 (permalink)
Newbie
 
Join Date: 31 Jan 2006
Posts: 1
Reputation: 0
MonkeyMaster is an unknown quantity at this point
Rep Power: 0
Exclamation Memory Leaks...

Ok being new to this forum I could really use some help understanding memory leaks, what causes them and what kind of software you use to fix them? Can anyone shed a little light on this for me? Thanks.

Nathan
MonkeyMaster is offline   Reply With Quote
SPONSOR

Old 31st Jan 2006, 07:19 AM   #2 (permalink)
Active
 
acedriver's Avatar
 
Join Date: 17 Apr 2004
Posts: 519
Reputation: 501
acedriver is a glorious beacon of lightacedriver is a glorious beacon of lightacedriver is a glorious beacon of lightacedriver is a glorious beacon of lightacedriver is a glorious beacon of lightacedriver is a glorious beacon of light
Rep Power: 10
Default

Wiki: http://en.wikipedia.org/wiki/Memory_Leak
__________________
acedriver is offline   Reply With Quote
Old 31st Jan 2006, 07:28 AM   #3 (permalink)
shutdown -h now
 
hyper_raider's Avatar
 
Join Date: 15 Aug 2003
Location: in front of my pc
Posts: 6,002
Reputation: 1078
hyper_raider has much to be proud ofhyper_raider has much to be proud ofhyper_raider has much to be proud ofhyper_raider has much to be proud ofhyper_raider has much to be proud ofhyper_raider has much to be proud ofhyper_raider has much to be proud ofhyper_raider has much to be proud of
Rep Power: 22
Default

You can't really fix memory leaks unless you look at the code yourself and fix it.
__________________
"God does not play dice with the universe."
- Albert Einstein (1879-1955)
http://edward-lim.blogspot.com
hyper_raider is offline   Reply With Quote
Old 31st Jan 2006, 11:19 AM   #4 (permalink)
I'm a regular
 
fyire's Avatar
 
Join Date: 15 Jan 2004
Location: Somewhere out there
Posts: 350
Reputation: 15
fyire is on a distinguished road
Rep Power: 5
Default

In most cases, what you can do to fix memory leaks is just to restart the application that's the culprit. The majority of bittorrent clients tend to have this problem. Other than that, its like what hyper_raider sez, out of luck unless u have access to the code to fix it up.

proper memory allocation and deallocation has been one of the most basic things learnt and drilled into the heads of students doing Computer Science, but its still a pretty common mistake to make. The general thought is that languages that does dynamic allocation for you such as Java is completely free of such problems, but that is not the case too (reduced, but not complete free; check out Bruce Tate's Bitter Java, there's a chapter in the book on how memory leaks can happen in Java as well, and how to avoid them)
fyire is offline   Reply With Quote
Old 31st Jan 2006, 03:22 PM   #5 (permalink)
shutdown -h now
 
hyper_raider's Avatar
 
Join Date: 15 Aug 2003
Location: in front of my pc
Posts: 6,002
Reputation: 1078
hyper_raider has much to be proud ofhyper_raider has much to be proud ofhyper_raider has much to be proud ofhyper_raider has much to be proud ofhyper_raider has much to be proud ofhyper_raider has much to be proud ofhyper_raider has much to be proud ofhyper_raider has much to be proud of
Rep Power: 22
Default

Oh and if its a game you are talking about i would wait for a patch or something like that.
__________________
"God does not play dice with the universe."
- Albert Einstein (1879-1955)
http://edward-lim.blogspot.com
hyper_raider is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +8. The time now is 02:35 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 1998-2007 Tech ARP. All rights reserved.