home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / gnu / emacs / help / 3865 < prev    next >
Encoding:
Internet Message Format  |  1992-08-27  |  1.7 KB

  1. Path: sparky!uunet!bonnie.concordia.ca!hobbit.ireq.hydro.qc.ca!NetNews.ireq.hydro.qc.ca!gamin
  2. From: gamin@ireq-robot.hydro.qc.ca (Martin Boyer)
  3. Newsgroups: gnu.emacs.help
  4. Subject: Re: memory exhausted
  5. Message-ID: <GAMIN.92Aug27124036@pellan.ireq-robot.hydro.qc.ca>
  6. Date: 27 Aug 92 16:40:36 GMT
  7. References: <1992Aug25.174711.20166@watson.ibm.com>
  8. Sender: news@ireq.hydro.qc.ca (Netnews Admin)
  9. Distribution: na
  10. Organization: Le laboratoire de robotique de l'Institut de recherche
  11.     d'Hydro-Quebec
  12. Lines: 28
  13. In-Reply-To: katriel@watson.ibm.com's message of 25 Aug 92 17:47:11 GMT
  14.  
  15. >>>>> Ron Katriel writes:
  16.  
  17. >I am getting a "memory exhausted" error message when running Lucid
  18. >Common Lisp from within GNU Emacs 18.57.6 (aix-v3).  The problem occurs
  19. >when the Lisp process puts out trace output in excess of 1 Megabyte to
  20. >the *lisp* buffer.
  21.  
  22. I just had the same problem with Mathematica.  As far as I could
  23. determine, the process buffer is simply consuming too much memory for
  24. emacs or for the swap space on the machine.  I did three things to
  25. save emacs from dying (the guy *wanted* the result of his 2 hour long
  26. computation):
  27.  
  28. 1. Killed all other buffers.
  29. 2. Evaluated (buffer-flush-undo (current-buffer)) in the process
  30.    buffer.  This gets rid of all "undo" information and prevents
  31.    accumulation of new information for that buffer.
  32. 3. Erased all text not needed in that buffer (using "delete-region",
  33.    not "kill-region").
  34.  
  35. You may want to put (buffer-flush-undo (current-buffer)) in the proper
  36. mode-hook. This is what the *compilation* buffer does.
  37.  
  38. --
  39. Martin Boyer                            mboyer@ireq-robot.hydro.qc.ca
  40. Institut de recherche d'Hydro-Quebec    mboyer@ireq-robot.uucp
  41. Varennes, QC, Canada   J3X 1S1
  42. +1 514 652-8412
  43.