[2985] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: Not really a bug, ..but....

daemon@ATHENA.MIT.EDU (bgardner@ATHENA.MIT.EDU)
Thu Aug 24 18:59:00 1989

From: <bgardner@ATHENA.MIT.EDU>
Date: Thu, 24 Aug 89 18:58:26 -0400
To: garner@ATHENA.MIT.EDU
Cc: bgardner@ATHENA.MIT.EDU, bugs@ATHENA.MIT.EDU, quality@ATHENA.MIT.EDU

> what do you by "unable to have both an emacs and a gcc" ?
> what are the error messages ?

  Funny you should ask...just seconds before reading your message
I tried (unsuccessfully) to run gcc while an emacs window is open.
  I am emacs'ing just one file, rulebrowser.c (its not very big, maybe
medium size..."ls -al rulebrowser.c" gives this:
-rw-r--r--  1 bgardner    35726 Aug 24 17:43 rulebrowser.c
that's 1037 lines of C code.)
  I have 3 xterms, 1 xclock, and 1 xcalendar up, in addition to the
emacs window. I have a makefile that makes just this one program
(rulebrowser). When I try to run make (which invokes gcc), I get the
following messages:

bgardner> make
rm -f rulebrowser.o
/mit/gnu/vaxbin/gcc -Dathena_unix=1 -Dbsd_unix -Dunix -DMSGDEBUG=0 -I. -I/afs/at
hena/astaff/project/argus/src/working/ansi-include -I/afs/athena/astaff/project/
argus/src/working/include -I/afs/athena/astaff/project/argus/src/working/vaxsrc
-I/afs/athena/astaff/project/motifdev/include -DSYSTEM_LENS_PROFILE=\"/afs/athen
a/astaff/project/argus/lens.profile\" -c rulebrowser.c
/mit/gnu/vaxlib/gcc-cpp: Memory exhausted.
*** Exit 1

Stop.

   If I exit emacs, then I can run gcc okay. But it is abit bothersome
to only be able to run gcc OR emacs at a given point in time.
(I mean, what's the point of having a fancy workstation, operating system,
windows, "multi-tasking", etc....if you have to operate at the level
of a single-task dumb operating system and swap between tasks, right?)
   As I said earlier, I'm running 6.3B on a vaxstation II with a small
disk. rulerowser.c is in an AFS locker.
And, most importantly, I do not have this problem at the start of my session,
it starts to occur after about 4 hours (pretty much without respect to my
workload...for instance, today I have been gone for 3 of the last 4 hours
and have only read mail, done 2 emacs saves and 2 gcc compiles
before I got bitten by this "/mit/gnu/vaxlib/gcc-cpp: Memory exhausted."
error message.
   I somehow suspect that AFS caching on a small disk workstation
is the culprit, but then I'm not knowledgable enough to know
of anything else that could possibly cause this.
   Since upgrading to 6.3, I haven't been able to run saber C at all.
For similar reasons...it just won't fit into memory.
I suspect that my AFS cache has taken space away from my swap space
and my virtual memory is now too small to do anything useful with.
   Any ideas...my workstation is fastly becoming useless...
with each new athena feature it gets.
     -- Brian

home help back first fref pref prev next nref lref last post