Question

Locked

Do Memory Leaks Accumulate After Prog Closure?

By abrogard ·
I have a friend ( A Mac lover) who claims Windows machines suffer from a memory problem in that 'leaky' progs failing to release memory after they close will lead to more and more memory being 'used' (but useless) until the point is reached where the machine can't function.

Whereas, he says, a Mac can be up and running for months on end.

Why a Mac would be immune to this problem I don't know. Presumably because of some software that reclaims useless, un-currently-owned, memory.

If such software exists why wouldn't it exist on the PC, in windows XP?

I've googled around a lot and I can't find a place that discusses this particular point.

Does anyone here have any knowledge on this?

regards,

ab :)

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

re: Memory leaks

by ThumbsUp2 In reply to Do Memory Leaks Accumulat ...

(1) Yes, (2) Maybe, (3) No and (4) You can't compare the two.

You're asking us to start another discussion on an age old topic which has been discussed thousands of times... PC vs MAC. You're going to get varying opinions both ways. Everyone has their preference. Obviously, your friend prefers a MAC.

Here are your questions answered in the order asked. But, keep in mind, I am a PC user and prefer to stay that way. I don't like MACs.

(1) Yes. Your friend is partially correct. Not all programs used on a PC (Windows systems) will release memory when they close and sometimes a PC must be rebooted to release it. Not all software used on a PC is that way though. I own a PC that runs all the time. The only time it ever gets rebooted is when some patch installation needs to reboot the machine to update files in use. And, I don't suffer from memory leaks like your friend has told you they all do.

(2) Maybe. The key word here being "can". Some MAC's can be up for months, some can't. It depends on how they're used and what's installed on them. I know of a person using a MAC that must reboot it a couple of times a day because it slows to a crawl. In addition, some Windows machines can be up and running for months on end, just like your friend's MAC.

(3) No. I don't know of any computer, MAC or PC that is immune to anything. They all have their good side and their bad side. Some people know how to use them correctly, some don't. Your friend is pro-MAC, so of course s/he's only going to tell you the good things.

(4) You can't compare the two. MAC's and PC's are built different. What's available for one isn't necessarily available for the other. Comparing the two is like comparing a gas powered automobile with an electric automobile. They're both forms of transportation, but they're built different. Parts that fit one don't necessarily fit the other. Mechanics who work on one don't necessarily work on the other.

Believe what you want to believe. If it were me, I would take what your friend has told you with a grain of salt. If you're currious about a MAC, then experience one yourself. If you like it, then switch. If you don't, then stay with a PC.

...
<edit grammar>

Collapse -

Sort of

by Tony Hopkinson In reply to Do Memory Leaks Accumulat ...

Windows is way better than it used to be , but most memory leaks are down not to windows being poor, but to windows applications being poor.
Essentially if you want a resource such as memory, you reserve it, use it, then release it. If 'you' forget the last bit, and lots of programmers are prone to that, two things can happen. One the 'booking' system knows that the application was using it, so when the application closes, it releases it. This sort of leak is only a real problem in applications that are never closed ( or are running all the time), such as windows itself or say a service.

Now when the booking system doesn't who has got what, it can't do this. Given many times the booking system is windows itself, you are down to a restart to get it back.

Either way short of a memory leak within windows itself, it's all down to applications not the operating system.

As for why, that's a history lesson, but esentially the MAC has no to very few systems where you can book something without identifying 'yourself'. You can of course invent your own leaky resource and bogger up any operating system.

Back to Hardware Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums