Version: 3.2.1 (using KDE 3.4.1, Gentoo) Compiler: gcc version 3.4.4 (Gentoo 3.4.4, ssp-3.4.4-1.0, pie-8.7.8) OS: Linux (x86_64) release 2.6.9-gentoo-r9 Selecting Project -> Project Options -> C++ Specific -> Code Completion -> Add -> KDevelop Custom Directory -> Next and selecting /usr/include/GL -> Add -> Next makes KDevelop consume all available memory (1 GB + 2 GB Swap). After 10 sec or so KDevelop gets killed by the oom killer in the kernel: Jul 22 13:59:00 cruncher Free pages: 1012kB (0kB HighMem) Jul 22 13:59:00 cruncher Active:238585 inactive:2110 dirty:0 writeback:0 unstable:0 free:253 slab:6928 mapped:238593 pagetables:3256 Jul 22 13:59:00 cruncher DMA free:12kB min:12kB low:24kB high:36kB active:10704kB inactive:0kB present:16384kB Jul 22 13:59:00 cruncher protections[]: 0 0 0 Jul 22 13:59:00 cruncher Normal free:1000kB min:1004kB low:2008kB high:3012kB active:943636kB inactive:8440kB present:1032128kB Jul 22 13:59:00 cruncher protections[]: 0 0 0 Jul 22 13:59:00 cruncher HighMem free:0kB min:128kB low:256kB high:384kB active:0kB inactive:0kB present:0kB Jul 22 13:59:00 cruncher protections[]: 0 0 0 Jul 22 13:59:00 cruncher DMA: 1*4kB 1*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 12kB Jul 22 13:59:00 cruncher Normal: 0*4kB 1*8kB 0*16kB 1*32kB 1*64kB 1*128kB 1*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 1000kB Jul 22 13:59:00 cruncher HighMem: empty Jul 22 13:59:00 cruncher Swap cache: add 0, delete 0, find 0/0, race 0+0 Jul 22 13:59:00 cruncher Out of Memory: Killed process 3877 (kdevelop). This happens with NVIDIA headers and extensions installed: gpiez@cruncher /usr/include/GL $ ls -l total 112 -rw-r--r-- 1 root root 10381 Apr 15 06:01 gle.h lrwxrwxrwx 1 root root 40 Jul 20 17:20 glext.h -> /usr/lib64/opengl/global/include/glext.h lrwxrwxrwx 1 root root 37 Jul 20 17:20 gl.h -> /usr/lib64/opengl/nvidia/include/gl.h -r--r--r-- 1 root root 15981 Jul 20 17:16 glu.h -rw-r--r-- 1 root root 4109 Apr 13 10:15 glutf90.h -rw-r--r-- 1 root root 30192 Apr 13 10:15 glut.h -r--r--r-- 1 root root 7946 Jul 20 17:16 GLwDrawA.h -r--r--r-- 1 root root 4433 Jul 20 17:16 GLwDrawAP.h -r--r--r-- 1 root root 2309 Jul 20 17:16 GLwMDrawA.h -r--r--r-- 1 root root 2311 Jul 20 17:16 GLwMDrawAP.h lrwxrwxrwx 1 root root 41 Jul 20 17:20 glxext.h -> /usr/lib64/opengl/global/include/glxext.h lrwxrwxrwx 1 root root 38 Jul 20 17:20 glx.h -> /usr/lib64/opengl/nvidia/include/glx.h -r--r--r-- 1 root root 4257 Jul 20 17:16 glxint.h lrwxrwxrwx 1 root root 42 Jul 20 17:20 glxmd.h -> /usr/lib64/opengl/xorg-x11/include/glxmd.h lrwxrwxrwx 1 root root 45 Jul 20 17:20 glxproto.h -> /usr/lib64/opengl/xorg-x11/include/glxproto.h lrwxrwxrwx 1 root root 44 Jul 20 17:20 glxtokens.h -> /usr/lib64/opengl/nvidia/include/glxtokens.h -r--r--r-- 1 root root 8349 Jul 20 17:16 osmesa.h
Dupe. *** This bug has been marked as a duplicate of 96909 ***