Article View: gnu.emacs.help
Article #1860Re: demacs crashes trying to load large (>1MB) text files
From: Kevin Gallagher
Date: Mon, 21 Dec 1992 04:21
Date: Mon, 21 Dec 1992 04:21
46 lines
2920 bytes
2920 bytes
In article <eneafsey.724774924@lucpul.it.luc.edu> eneafsey@lucpul.it.luc.edu (E. J. Neafsey) writes:
>When I try to load large (>1MB) text files, such as Roget's Thesaurus
>or calc's texinfo file, demacs crashes. Am I doing something wrong,
>or is it a problem with demacs? BTW, Vernon Buerg's LIST program has
>no trouble with these files at all.
GNU Emacs was designed to run on a machine whose OS has lots of virtual
memory. By design, when loading a file to edit, it loads the WHOLE file.
When I first ran into the problem, my system simply locked up. I had to
reboot to restore things to normal. Check your CONFIG.SYS and see how you
have your memory configured. Compare this configuration to the memory
discusions in the Demacs documentation. When I increased the amount of memory
available to Demacs to be larger than the largest file I wished to edit, I was
able to edit files over 1MB.
In your case, I suspect that your configuration limits the memory available to
Demacs to 1MB.
>One other thing: any solutions to demacs's file locking problems that
>occur when you add the "-9" to SET TZ=CST-9??? The "-9" makes the
>time correct but screws up something else.
At one time I used to have the problem where Demacs sometimes complained, when
I attempted to save a modified buffer, that the original file had changed on
disk since I started my edit session. I have not seen this problem for a
long, long time and I have been unable to figure out what I must have done to
fix the problem.
When it happens again to you, please do the following:
1. Suspend Demacs with a C-z.
2. Query DOS for the current date and time and write it down.
3. Do a directory on the original unmodified file and write its date
and time down. Also record the date and time of any auto-save and
backup files.
4. Type "exit" to return to Demacs.
If you collect this data for the next half dozen times you have the problem,
we may be able to see some pattern to this that may point to the bug in the
code.
--
----------------------------------------------------------------------------
Kevin Gallagher kgallagh@digi.lonestar.org OR ...!uunet!digi!kgallagh
DSC Communications Corporation Addr: MS 152, 1000 Coit Rd, Plano, TX 75075
----------------------------------------------------------------------------
Technical Details
Message-ID:
<1992Dec21.042146.15816@digi.lonestar.org>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!west.West.Sun.COM!cronkite.Central.Sun.COM!texsun!digi!kgallaghReferences:
<eneafsey.724774924@lucpul.it.luc.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!west.West.Sun.COM!cronkite.Central.Sun.COM!texsun!digi!kgallagh From: kgallagh@digi.lonestar.org (Kevin Gallagher) Newsgroups: gnu.emacs.help Subject: Re: demacs crashes trying to load large (>1MB) text files Keywords: demacs,crash, large files Message-ID: <1992Dec21.042146.15816@digi.lonestar.org> Date: 21 Dec 92 04:21:46 GMT References: <eneafsey.724774924@lucpul.it.luc.edu> Organization: DSC Communications Corp, Plano, TX Lines: 46