From: Eli Zaretskii <eliz@gnu.org>
Subject: Re: PURESIZE increased (again)
Date: Thu, 27 Apr 2006 23:38:53 +0300 [thread overview]
Message-ID: <u1wvihhya.fsf@gnu.org> (raw)
In-Reply-To: <v9fyk0o38r.fsf@marauder.physik.uni-ulm.de> (message from Reiner Steib on Wed, 26 Apr 2006 15:50:12 +0200)
> From: Reiner Steib <reinersteib+gmane@imap.cc>
> Cc: emacs-devel@gnu.org
> Date: Wed, 26 Apr 2006 15:50:12 +0200
>
> Sorry for the late answer. I still get an overflow on 64 bit with
> today's sources (I can do the same on 32 bit if it's useful):
>
> --8<---------------cut here---------------start------------->8---
> $ cd [...]/emacs/cvs-HEAD/emacs/src$ grep define.BASE_PURESIZE puresize.h
> #define BASE_PURESIZE (1205000 + SYSTEM_PURESIZE_EXTRA + SITELOAD_PURESIZE_EXTRA)
> $ cd [...]/emacs/cvs-HEAD/x86_64/src/; gdb ./temacs
> GNU gdb 6.2.1
> Copyright 2004 Free Software Foundation, Inc.
> [...]
> Breakpoint 1 at 0x556da0: file [...]/emacs/src/sysdep.c, line 1373.
> (gdb) break lread.c:717
> Breakpoint 2 at 0x5e79dc: file [...]/emacs/src/lread.c, line 717.
> (gdb) run -batch -l loadup dump
> Starting program: [...]/emacs/cvs-HEAD/x86_64/src/temacs -batch -l loadup dump
> [Thread debugging using libthread_db enabled]
> [New Thread 182940272320 (LWP 30412)]
> [Switching to Thread 182940272320 (LWP 30412)]
> [...]
> Loading tool-bar...
> $92 = 1991013
> Loading x-dnd...
> $93 = 3206
> Loading emacs-lisp/float-sup...
> $94 = 3864
> Loading vc-hooks...
> $95 = 785
> Loading jka-cmpr-hook...
> $96 = 774
> Loading ediff-hook...
> $97 = 1055
> Loading tooltip...
> $98 = 944
> $99 = 986
>
> (gdb) continue
> Continuing.
> Dumping under names emacs and emacs-22.0.50.7
> emacs:0:Pure Lisp storage overflow (approx. 2157456 bytes needed)
These results are very strange indeed. I've built today's CVS on an
x86_64 box (Red Hat GNU/Linux) in 3 different ways: with GTK, with
Motif and with Lucid, and they all needed only 1881740 bytes, give or
take a few dozen bytes. How come your build requires a whopping 275KB
more?
Comparison of your GDB session with mine shows that each time a .el
file is loaded, it uses up the exact same amount of pure storage in
your build as in mine. But every .elc file takes more pure storage on
your machine, sometimes only by 1KB, sometimes by as much as 20KB.
Do you have some local changes on your system, or is this a plain
"make bootstrap" of the CVS checkout, with all the defaults wrt
compiler switches, libraries, etc.? (Not that I see how local changes
to anything but the Lisp files themselves could produce such bloat.)
Does anyone have ideas as to what could cause such a significant
difference in pure storage use on two identical architectures?
I'm stumped.
next prev parent reply other threads:[~2006-04-27 20:38 UTC|newest]
Thread overview: 90+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-16 7:07 PURESIZE increased (again) Eli Zaretskii
2006-04-16 7:18 ` Eli Zaretskii
2006-04-16 10:56 ` Romain Francoise
2006-04-16 12:13 ` Andreas Schwab
2006-04-16 16:59 ` Eli Zaretskii
2006-04-20 16:51 ` Reiner Steib
2006-04-20 18:50 ` Eli Zaretskii
2006-04-20 21:03 ` Reiner Steib
2006-04-20 21:37 ` Stefan Monnier
2006-04-21 7:49 ` Eli Zaretskii
2006-04-21 7:48 ` Eli Zaretskii
2006-04-21 9:15 ` Eli Zaretskii
2006-04-26 13:50 ` Reiner Steib
2006-04-27 20:38 ` Eli Zaretskii [this message]
2006-04-27 20:52 ` David Kastrup
2006-04-28 5:26 ` Eli Zaretskii
2006-04-27 21:19 ` Luc Teirlinck
2006-04-28 5:22 ` Eli Zaretskii
2006-04-28 16:09 ` Stefan Monnier
2006-04-28 16:27 ` Eli Zaretskii
2006-04-27 21:56 ` Reiner Steib
2006-04-28 5:35 ` Eli Zaretskii
2006-04-28 13:11 ` Reiner Steib
2006-04-28 15:24 ` Andreas Schwab
2006-04-28 16:19 ` Eli Zaretskii
2006-04-28 17:15 ` Reiner Steib
2006-04-29 15:13 ` Eli Zaretskii
2006-04-29 15:27 ` Stefan Monnier
2006-04-29 16:49 ` Eli Zaretskii
2006-04-29 15:33 ` Andreas Schwab
2006-05-30 19:40 ` Reiner Steib
2006-05-30 19:47 ` Eli Zaretskii
2006-06-03 11:53 ` Eli Zaretskii
2006-06-09 15:33 ` Reiner Steib
2006-06-09 16:49 ` Eli Zaretskii
2006-06-09 16:57 ` Andreas Schwab
2006-06-09 19:55 ` Eli Zaretskii
2006-06-09 22:33 ` Andreas Schwab
2006-06-10 7:39 ` Eli Zaretskii
2006-06-10 9:36 ` Andreas Schwab
2006-06-10 12:04 ` Reiner Steib
2006-04-27 22:12 ` Luc Teirlinck
2006-04-27 22:29 ` Ken Raeburn
2006-04-27 22:53 ` Luc Teirlinck
2006-04-27 23:16 ` Ken Raeburn
2006-04-28 14:18 ` Andreas Schwab
2006-04-28 16:15 ` Eli Zaretskii
2006-04-28 17:25 ` Reiner Steib
2006-04-27 23:16 ` Luc Teirlinck
2006-04-27 22:24 ` Ken Raeburn
2006-04-27 22:38 ` David Kastrup
2006-04-27 23:04 ` Ken Raeburn
2006-04-28 5:36 ` Eli Zaretskii
2006-04-28 5:29 ` Eli Zaretskii
2006-04-28 6:42 ` David Kastrup
2006-04-28 7:07 ` Ken Raeburn
2006-04-28 13:03 ` Eli Zaretskii
2006-04-21 23:10 ` Luc Teirlinck
2006-04-22 10:13 ` Eli Zaretskii
2006-04-22 11:35 ` Miles Bader
2006-04-22 13:15 ` Eli Zaretskii
2006-04-23 1:59 ` Luc Teirlinck
2006-04-23 3:35 ` Eli Zaretskii
2006-04-23 3:46 ` Nick Roberts
2006-04-23 13:51 ` Drew Adams
2006-04-23 16:02 ` Alan Shutko
2006-04-23 18:41 ` Eli Zaretskii
2006-04-23 21:58 ` Richard Stallman
2006-04-23 23:06 ` Nick Roberts
2006-04-23 15:54 ` Bill Wohler
2006-04-23 17:29 ` Luc Teirlinck
2006-04-23 17:52 ` Bill Wohler
2006-04-23 17:58 ` David Kastrup
2006-04-23 19:43 ` Robert J. Chassell
2006-04-23 22:20 ` Richard Stallman
2006-04-23 18:53 ` Eli Zaretskii
2006-04-23 18:43 ` Eli Zaretskii
2006-04-23 16:23 ` Dan Nicolaescu
2006-04-23 18:40 ` Eli Zaretskii
2006-04-23 18:48 ` Dan Nicolaescu
2006-04-23 18:56 ` Eli Zaretskii
2006-04-24 11:51 ` Richard Stallman
2006-04-23 2:06 ` Luc Teirlinck
2006-04-22 22:33 ` Richard Stallman
2006-04-23 1:05 ` Luc Teirlinck
2006-04-23 3:32 ` Eli Zaretskii
2006-04-23 21:58 ` Richard Stallman
2006-04-16 17:27 ` Romain Francoise
2006-04-16 17:07 ` Eli Zaretskii
2006-04-18 17:17 ` Bill Wohler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=u1wvihhya.fsf@gnu.org \
--to=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.