[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#272231: possible g++ memory leakage



On Sat, Sep 18, 2004 at 05:33:48PM +0200, Matthias Klose wrote:

> lorro@lorro.wigner.bme.hu writes:
> > Package: g++
> > Version: 3.3.4-2
> > Severity: important
> > 
> > When building the latest (0.16) mythtv with apt-build,
> > at file globalsettings.cpp g++ slowly eats up all the
> > memory the machine has (no matter how much), then dies
> > with inertal error (probably gets oomkilled).
> > 
> > Reproducing the error: (Debian unstable, as of 2004-09-18)
> > 1., Add (if not already there) to /etc/apt/sources.list :
> > deb http://dijkstra.csh.rit.edu/~mdz/debian unstable mythtv
> > 2., Install (if you don't yet have it) apt-build :
> > apt-get install apt-build && apt-get update
> > 3., Set -O3 -march=k6-3 -mcpu=k6-3 (probably optional) in
> > /etc/apt/apt-build.conf
> > 4., Install mythtv with apt-build :
> > apt-build install
> > 5., Wait...
> > The error will appear when globalsettings.cpp gets compiled.
> > (Takes quite long) You can start a "watch free" to see
> > the memory leakage.
> 
> please send the preprocessed globalsettings.ii file and the output
> running g++ -v

This file has always required huge amounts of memory to compile (>128M), but
it is not unlimited.  I have compiled it several times with 3.3.4-11 on a
512M system.

-- 
 - mdz



Reply to: