aMule Forum
English => en_Bugs => Topic started by: BQuick on July 04, 2005, 07:14:50 PM
-
Hi,i m Linux newbie,using Kanotix.I left amule open during the night,in the morning i had 90 MB RAM free out of 1 Gig that i have...Same is happening now again.Used RAM at 680 and rising steadily.
-
can you post
amule --version
thnx
-
Re: aMule 2.0.3 memory leak
> can you post
> amule --version
By the way, the friend of mine keeps complaining to me
about that problem every day. He works around it by
restarting amule every few days. He says that 2.0.3
eats up all the memory+swap in 3 days, while 2.0.1
did that in a week, and those old (stable) 1.x didn't
have that problem at all. But it may be (and even more
likely, IMHO) the fault of wx too - between 2.0.1 and 2.0.3
he upgraded wx from 2.5 to 2.6 from CVS. (built as wxGTK
on GTK2)
I have only the remote connection to his machine, but
if you need some specific info on that problem, I, as well,
can try to get it out.
-
It's wx + GTK2 fault.
-
> It's wx + GTK2 fault.
Hmm? Could you please be a bit less terse, or at least
maybe you can refer me elsewhere for some info on that?
-
I mean, if I want to find a work-around, that info is
definitely not enough. Where exactly the problem is,
or how it can be avoided? It is just that the aMule
is almost useless in that state (restarting every few days
is no good), so finding a work-around looks unavoidable
for me as an user.
-
there is no workaround to the mem leak within gtk2 and wxGTK...
those two libs dont work so great together, so the mem leaks...
gkt1 is better or mem usage
-
imho wx2.6 + gtk2 don't suffer from this
-
stefanero:
> there is no workaround to the mem leak within gtk2 and wxGTK...
> those two libs dont work so great together, so the mem leaks...
With GTK being, AFAIK, the primary target of wx...
Not a best days for aMule, I'd say:)
> gkt1 is better or mem usage
I really can't move to gtk1. I know it used to work better with
wx, but now I think it is pretty much dead (correct me if I am
wrong). Really, why do you think the wxUniversal is not an
option to try?
lfroen:
> imho wx2.6 + gtk2 don't suffer from this
Any ideas how the one can figure this out? If I create, say,
the memprof logs (and attach them here), will this help?
Or some other tools to try?
-
a nice mem tool is valgrind,
and there is some help on valgrind on wiki.amule.org
about the mem bug with wxGTK - gtk2
well tis not our fault that wxWidgets and gkt2 dont work so great together...not much we acn do about it...
about the wxUniversal question, if you link wxUniversal against gtk2 its no difference
-
> and there is some help on valgrind on wiki.amule.org
Thanks for the pointer.
> about the wxUniversal question, if you link wxUniversal against gtk2 its no difference
I thought it links with Xlib only, so that to provide all
the widgets itself. I.e. AFAIK it doesn't need GTK at
all - is this wrong?