home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / gnu / emacs / help / 5139 next >
Encoding:
Internet Message Format  |  1992-12-21  |  2.8 KB

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