Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51501 - Import of large project causes kdevelop 3.0.3 to use up all memory
Summary: Import of large project causes kdevelop 3.0.3 to use up all memory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-19 13:56 UTC by Elton Algera
Modified: 2004-09-03 06:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elton Algera 2004-05-19 13:56:31 UTC
Connecting kdevelop-4801/KDevCore/projectClosed()
PyDCOP connect kdevelop-4801/KDevCore/projectClosed()/f1() has result true
Connecting kdevelop-4801/KDevCore/projectOpened()
PyDCOP connect kdevelop-4801/KDevCore/projectOpened()/f2() has result true
QObject::connect: No such slot subversionPart::slotActionAdd()
QObject::connect:  (sender name:   'subversion_add')
QObject::connect:  (receiver name: 'Subversion')
QObject::connect: No such slot subversionPart::slotActionRemove()
QObject::connect:  (sender name:   'subversion_remove')
QObject::connect:  (receiver name: 'Subversion')
QObject::connect: No such slot subversionPart::slotActionAddToIgnoreList()
QObject::connect:  (sender name:   'subversion_ignore')
QObject::connect:  (receiver name: 'Subversion')
QObject::connect: No such slot subversionPart::slotActionRemoveFromIgnoreList()
QObject::connect:  (sender name:   'subversion_donot_ignore')
QObject::connect:  (receiver name: 'Subversion')
QObject::connect: No such slot subversionPart::slotStopButtonClicked(KDevPlugin*)
QObject::connect:  (sender name:   'unnamed')
QObject::connect:  (receiver name: 'Subversion')
QMetaObject::findSignal:KFileDetailView: Conflict with QListView::doubleClicked(QListViewItem*,const QPoint&,int)
kdecore (KAccel): WARNING: KKeySequence::init( seq ): key[0] is null.
kdecore (KAccel): WARNING: KKeySequence::init( seq ): key[0] is null.
fun: f2()
bar2 called
kdecore (KAccel): WARNING: KKeySequence::init( seq ): key[0] is null.
kdecore (KAccel): WARNING: KKeySequence::init( seq ): key[0] is null.
fun: f1()
bar1 called
fun: f2()
bar2 called

[2]+  Killed                  kdevelop
------------------
Kern.log says:
May 19 22:45:42 toronto kernel: Out of Memory: Killed process 5264 (kdevelop).

Now, I have a 3000+ athlon with 512M memory and a swap of 530M. 
During the import, memory usage is fluctuating between 150 and 300M constantly. At 66%(according to the progress bar) memory usage grows to over 1G in about 5 seconds, causing the kernel to kill the process. 


Reproducible: Always
Steps to Reproduce:
1. Copy the contents of /usr/src/linux to ~/kernel
2. import the files using import project, with setting Project type generic C/custom makefiles
3. at 66%, the memory usage goes to the roof, process killed by kernel.

Actual Results:  
Kernel kills process, out of memory.

Expected Results:  
import the entire tree.

Hardware: Athlon 3000+, 512M, swap 520M.

KDE 3.2, 
GCC: 
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/specs
Configured with: /var/tmp/portage/gcc-3.3.3-r3/work/gcc-3.3.3/configure
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3
--includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info --enable-shared
--host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib
--enable-languages=c,c++ --enable-threads=posix --enable-long-long
--disable-checking --enable-cstdio=stdio --enable-clocale=generic
--enable-__cxa_atexit --enable-version-specific-runtime-libs
--with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/g++-v3
--with-local-prefix=/usr/local --enable-shared --enable-nls
--without-included-gettext --disable-multilib
Thread model: posix
gcc version 3.3.3 20040412 (Gentoo Linux 3.3.3-r3, ssp-3.3-7, pie-8.5.3)

CFLAGS="-O3 -march=athlon-xp -pipe"

X server: Xorg.
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2004-09-03 06:48:57 UTC
should be fixed in latest kdevelop version.