unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Cc: Glenn Morris <rgm@gnu.org>, Chong Yidong <cyd@stupidchicken.com>,
	Dan Nicolaescu <dann@ics.uci.edu>,
	Nick Roberts <nickrob@snap.net.nz>,
	emacs-devel@gnu.org
Subject: Problems preloading x-win.el (was: Next release)
Date: Fri, 23 May 2008 16:18:39 -0400	[thread overview]
Message-ID: <jwv4p8o3hp2.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <wl8wyouuzv.wl%mituharu@math.s.chiba-u.ac.jp> (YAMAMOTO Mitsuharu's message of "Tue, 06 May 2008 09:38:44 +0900")

>>> Then that would be the solution to the problem that the X11 build
>>> does not bootstrap on Darwin.
>> Doesn't it?  I have missed the corresponding discussion, sorry.  Is
>> there some detailed info about it somewhere?

> This one.
> http://lists.gnu.org/archive/html/emacs-devel/2008-04/msg02165.html

I must be missing something: this message seems to give the solution
(i.e. "increase the room for load commands").

>> If delaying the load of x-win.el resolves this problem, then maybe
>> it's a good solution.  It would be good to try and figure out what's
>> the root cause of the problem, tho, of course.
>>> It would also reduce the required STATIC_HEAP_SIZE in sheap.c for
>>> Cygwin.
>> Does preloading x-win.el make a large difference here?  If so, does
>> anybody know why?

Maybe because x-win.el causes a lot of memory allocation?

> I guess .el requires more resources in preloading than .elc.

No, the two kinds of files are pretty much identical.  But maybe
x-win.el for some reason requires a lot of resources.

> I think it's a good idea not to preload unnecessary .el at this stage.

But if x-win.el requires a lot of resources, than not preloading it will
just move those resources around, it won't actually solve the
corresponding problem.  The only way to solve the problem would be to
either not load x-win.el at all (obviously not an option if you use
X11), or to try and figure out why x-win.el uses up so much memory.


        Stefan





  reply	other threads:[~2008-05-23 20:18 UTC|newest]

Thread overview: 110+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-01  9:48 Next release Nick Roberts
2008-05-01 10:32 ` Jason Rumney
2008-05-01 23:07   ` Nick Roberts
2008-05-02  0:04     ` Jason Rumney
2008-05-01 17:43 ` Glenn Morris
2008-05-01 19:52   ` David Kastrup
2008-05-01 20:30   ` Chong Yidong
2008-05-02  1:00     ` Glenn Morris
2008-05-02  6:48     ` CHENG Gao
2008-05-03  1:00       ` Bob
2008-05-03  8:09       ` Richard M Stallman
2008-05-03  9:22         ` CHENG Gao
2008-05-03  9:49           ` YAMAMOTO Mitsuharu
2008-05-03 18:59             ` Stefan Monnier
2008-05-03 19:08               ` Glenn Morris
2008-05-03 21:42                 ` Stefan Monnier
2008-05-04  9:37               ` Richard M Stallman
2008-05-04  9:37           ` Richard M Stallman
2008-05-06  0:38       ` YAMAMOTO Mitsuharu
2008-05-23 20:18         ` Stefan Monnier [this message]
2008-05-23 21:54           ` Problems preloading x-win.el (was: Next release) Dan Nicolaescu
2008-05-24  2:22             ` Problems preloading x-win.el Stefan Monnier
2008-05-24  3:19           ` Problems preloading x-win.el (was: Next release) YAMAMOTO Mitsuharu
2008-05-02 13:31     ` Next release Dan Nicolaescu
2008-05-02 13:52       ` Jason Rumney
2008-05-02 15:24       ` YAMAMOTO Mitsuharu
2008-05-02 16:10         ` Dan Nicolaescu
2008-05-03  9:38           ` YAMAMOTO Mitsuharu
2008-05-03 19:05             ` Stefan Monnier
2008-05-04  0:56             ` Dan Nicolaescu
2008-05-04  1:25               ` YAMAMOTO Mitsuharu
2008-05-04  1:40                 ` Stefan Monnier
2008-05-04  1:57                   ` YAMAMOTO Mitsuharu
2008-05-04  3:21                     ` Stefan Monnier
2008-05-04  5:07                       ` YAMAMOTO Mitsuharu
2008-05-04 15:52                         ` Stefan Monnier
2008-05-05  1:28                           ` YAMAMOTO Mitsuharu
2008-05-05  5:48                             ` Stefan Monnier
2008-05-04 21:35                         ` Chong Yidong
2008-05-04 23:52                           ` YAMAMOTO Mitsuharu
2008-05-05  0:56                             ` Stefan Monnier
2008-05-05  7:43                               ` Juanma Barranquero
2008-05-07 18:28                                 ` Stefan Monnier
2008-05-07 19:13                                   ` Eli Zaretskii
2008-05-08  1:26                                     ` Stefan Monnier
2008-05-08  8:22                                       ` Jason Rumney
2008-05-08  8:32                                         ` David Kastrup
2008-05-08  9:04                                           ` David Reitter
2008-05-08 10:40                                             ` Jan Djärv
2008-05-08 10:55                                               ` Miles Bader
2008-05-10  8:55                                               ` Richard M Stallman
2008-05-10 20:30                                                 ` David Kastrup
2008-05-10 23:53                                                   ` David Reitter
2008-05-08  9:06                                           ` Miles Bader
2008-05-08  9:22                                             ` Jason Rumney
2008-05-08  9:35                                               ` Miles Bader
2008-05-08  9:44                                                 ` David Kastrup
2008-05-08 19:47                                                   ` Stephen J. Turnbull
2008-05-08 20:56                                                     ` David Kastrup
2008-05-09  0:52                                                       ` Stefan Monnier
2008-05-09  1:04                                                         ` Miles Bader
2008-05-09  6:07                                                         ` Tassilo Horn
2008-05-09  7:02                                                         ` Eli Zaretskii
2008-05-08  9:51                                                 ` Jason Rumney
2008-05-08 10:08                                                   ` David Kastrup
2008-05-08 10:16                                                 ` Eli Zaretskii
2008-05-08 10:36                                                   ` David Kastrup
2008-05-09 23:54                                                   ` Juri Linkov
2008-05-08  9:45                                               ` David Kastrup
2008-05-08 10:04                                             ` Eli Zaretskii
2008-05-08 13:51                                             ` Stefan Monnier
2008-05-08 13:57                                               ` Juanma Barranquero
2008-05-08 14:50                                               ` Miles Bader
2008-05-09 11:12                                                 ` Richard M Stallman
2008-05-08  9:32                                       ` Eli Zaretskii
2008-05-08 13:46                                         ` Stefan Monnier
2008-05-08  2:34                                   ` Juanma Barranquero
2008-05-09  1:35                                   ` Tool-bar changes (Was: Next release) Chong Yidong
2008-05-09  3:25                                     ` Tool-bar changes Stefan Monnier
2008-05-09  5:53                                       ` Tassilo Horn
2008-05-13 18:07                                     ` Chong Yidong
2008-05-13 18:19                                       ` Stefan Monnier
2008-05-13 18:38                                         ` David Reitter
2008-05-13 19:06                                         ` Eli Zaretskii
2008-05-14  2:17                                       ` Chong Yidong
2008-05-14  4:28                                         ` Chong Yidong
2008-05-14  4:47                                           ` Stefan Monnier
2008-05-14 19:30                                             ` Chong Yidong
2008-05-14 20:50                                               ` Chong Yidong
2008-05-15  1:10                                                 ` Stefan Monnier
2008-05-06  0:40                               ` Next release YAMAMOTO Mitsuharu
2008-05-04 21:23                     ` Chong Yidong
2008-05-05  0:44                       ` YAMAMOTO Mitsuharu
2008-05-04  2:06                 ` Dan Nicolaescu
2008-05-04  4:21                   ` Eli Zaretskii
2008-05-04  6:58                     ` Dan Nicolaescu
2008-05-04  8:15                       ` David Kastrup
2008-05-04 18:17                       ` Eli Zaretskii
2008-05-04 18:59                         ` Dan Nicolaescu
2008-05-04 20:31                           ` Thomas Lord
2008-05-04  7:36                     ` David Kastrup
2008-05-04 16:00                       ` Stefan Monnier
2008-05-04 14:34                     ` Jason Rumney
2008-05-02 21:13     ` Richard M Stallman
2008-05-02 21:32       ` Chong Yidong
2008-05-03  0:11         ` Glenn Morris
2008-05-03 14:49           ` Chong Yidong
2008-05-03 17:02             ` Alex
2008-05-03 21:00         ` Richard M Stallman
2008-05-04  3:53           ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv4p8o3hp2.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=cyd@stupidchicken.com \
    --cc=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    --cc=mituharu@math.s.chiba-u.ac.jp \
    --cc=nickrob@snap.net.nz \
    --cc=rgm@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).