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

Re: Bug#185010: marked as done (localedef uses lots and lots of memory)



At Sun, 16 Mar 2003 19:41:19 -0500,
Daniel Jacobowitz wrote:
> 
> On Sun, Mar 16, 2003 at 05:48:12PM -0600, Debian Bug Tracking System wrote:
> > At Sun, 16 Mar 2003 14:10:16 +0000,
> > pmaydell@chiark.greenend.org.uk wrote:
> > > 
> > > Package: libc6
> > > Version: 2.2.5-11.2
> > > 
> > > The localedef utility (as run by locale-gen) uses an extremely large amount
> > > of memory. This means it takes a very long time to run on machines without
> > > very much RAM (48MB in this case), and my SPARCstation actually ran totally
> > > out of memory so localedef was killed by the OOM-killer before it could 
> > > finish...
> > > 
> > > Here's a ps snapshot:
> > > USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
> > > root     18243  6.9 34.5 41852 13992 pts/7   D    13:41   0:39 localedef -i en_GB -c -f UTF-8 en_GB.UTF-8
> > > 
> > > Note the ludicrous VSZ.
> > > 
> > > (I dunno, maybe this should be wishlist, but since it's actually bad
> > > enough that I can't add extra locales on this SPARC box I'll leave it
> > > at normal severity.)
> > 
> > So add more memory or add swap or reduce processes consuming memory.
> 
> Huh?  That's got to be the lamest bug-closing message I've seen in
> years.  All the world is not a PC.  Adding memory is not the answer.
> 
> Localedef is a ridiculous CPU/memory hog; it should and probably can be
> fixed.

Read my post.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=185010

-- gotom



Reply to: