[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)



On Mon, Mar 17, 2003 at 09:47:44AM +0900, GOTO Masanori wrote:
> 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

I strongly disagree with your position in that bug report.  Especially:

 > Unless you have a particularly good justification (in which case
 > why didn't you give it in the first place?) I'm going to reopen
 > this bug...

 Don't do that.  If you reopen, you have to send a patch to improve.

That's not a legitimate reason to close a bug.  It's a real problem,
even if low priority.

Reducing the number of bugs doesn't get you any brownie points.  Please
don't close bugs without reason.  I have several systems (on my desk,
at least four) with inadequate RAM to run the current localedef, and it
causes me problems; this issue is on my list to investigate.

I've reopened it.  Please don't close it unless you intend to fix it
first.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



Reply to: