aMule Forum
English => en_Bugs => Topic started by: HayArms on October 27, 2005, 07:45:21 PM
-
Hi all, I'm using aMule CVS (one of the lastest snapshots) and I have a problem .... a big problem.
I use debian and I haven't touched the ./configure option with the exclusion of --prefix and --enable-kad-compile. The C++ Compilator used is gcc 4.0 .
aMule now is up from 2 days and 19 hours.
Here you can see the problem :
Output from "top" :
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3801 melchior 20 0 558m 417m 8240 D 11.3 41.3 267:09.76 amule
As you can see aMule uses 558 MegaBytes of Memory!!
What's up with aMule?
Thanks
-
what wxGTK version?
compiled with gtk1.2 or gtk2 support?
-
apt-get says :
Version: 2.6.1.2
I have maintained the ./configure default library. I think is GTK2 , but I'm not completely sure (I use KDE and GTK1 and GTK2 look quite similar)
-
Debians wxgtk is compiled with GTK2 which results in exactly the memleaks you are experiencing up until version 2.6.1. This has been fixed in wxgtk 2.6.2.
-
Originally posted by thedude0001
Debians wxgtk is compiled with GTK2 which results in exactly the memleaks you are experiencing up until version 2.6.1. This has been fixed in wxgtk 2.6.2.
Do you think I should package libgtk2.6 myself with an updated 2.6.2 version?
-
I could say "yes" and the debian 2.6.2 packages will come out the next day. I could say "no" and they won't come for months. I don't know, it's your call whether you think there's need for such a package. But if you don't have any experience in Debian packaging be advised that this isn't something you get done in a matter of some hours, it's more likely to take you some days. And it might very well all be for the drain ;)
-
HayArms,
thedude0001 is right, instead of creating a debian package, compile wx yourself and leave it in a directory in your home.
Open the wx tarball in a directory and:
$ ./configure --enable-debug --disable-optimise --enable-debug_flag --enable-debug_info --enable-debug_gdb --with-opengl --enable-gtk2 --enable-unicode --enable-largefile --prefix=/home/user/wxWidgets-cvsu && make && make install
Don't forget to run aMule like this:
$ LD_LIBRARY_PATH=/home/user/wxWidgets-cvsu/lib /path/to/amule &
Cheers!
-
Thanks for the advice, but I think I've succeded in creating a debian package of wxgtk 2.6.2 (I'm compiling it right now). If all goes well I'll make you know if the problem will come back again or not. If it doesn't work ... well, I think that I will follow your advice :P