Re: Linux BUG: Memory Leak

Martin Schlemmer (azarah@gentoo.org)
13 Mar 2003 17:06:37 +0200


On Thu, 2003-03-13 at 16:26, James Stevenson wrote:
> > With all due respect to all the great programmers and
> > minds in this mailing list. I could not read this and
> > not reply to this guy:
> >
> > Maybe you should take your games and movies to windows
> > and leave linux for more serious stuff. That'll fix
> > your memory leak.
>
> correct me if i am wrong here but i know alot of students
> who use linux todo serious stuff and get really pissed off have to
> reboot into windows to play games because they dont work
> under windows and for various other things that also cause
> problems in linux. Actually quite alot of them end up
> dumping linux because any of the serious games wont work on there
> system because they would have to tear much of it apart toget
> them to work.
>
> this isnt a serious problem then ?
>

Ok, I do agree that when doing support for something like Linux
where most of your free time are spent at no charge, the way
help is asked, do make a difference. However, we should try to
refrain from chasing people away when they do approach things with
a slight offensive attitude ....

Anyhow, as for your problem James, I did experience similar issues
in the past. It was basically related to a gtk+ theme engine that
leaked memory like hell. Try to change gtk+/kde/whatever themes.
Also maybe try to update your XFree86 if Slackware do have later
revisions out, as I really wont rule X out of being totally free
of major memory leaks (No offense toward xfree.org, you guys are
doing a great job =). On the other hand ... XFree86 4.3.0 is out,
so you might try to compile that by hand just as a test.

Then, do not rule out the nvidia drivers for being totally bug free.
The version before 4191 had some serious page_alloc.c bugs, which
should partly be fixed by 4191. It does still have issues though
if you are using rmap. You can get patches for it here:

http://www.minion.de/nvidia/

Also, I think there are another patch somewhere to fix one or other
problem, but cannot find it now.

Then kernel .... Did you try earlier versions to verify your suspicion ?
Or if the same thing with earlier kernel, maybe try it with 2.5.64 ?
Patches to get it working with 2.5 can be found above.

I am running a Geforce3 Ti5 here, and UT2003, UT, Quake3, etc are
working just fine. Same thing for 2.4.19 (before I switched to
2.5 kernel) ... meaning if you have the same issues with 2.4.19,
then it is very possible that it is something else at fault. Yes,
this is not clear cut, but ....

Regards,

-- 
Martin Schlemmer
Gentoo Linux Developer, Desktop Team
Cape Town, South Africa

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/