swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swarm-Support] emacs memory related trouble building Swarm on Suse


From: Bill Northcott
Subject: Re: [Swarm-Support] emacs memory related trouble building Swarm on Suse
Date: Wed, 3 Dec 2003 06:07:21 +1100

This is exactly where I come unstuck trying to build on HP Tru64 UNIX 5.1. 
 It does not crash but java-stubs.elc does not properly build the stubs. I 
canot see why, but now I wonder if it is related to the SUSE problem.

I have tried three different versions of emacs: The HP suppplied one and 
two more recent which I built myself.

Any suggestions?
Bill Northcott

> Then, when I tried to build RPMs so other Suse users could install
> Swarm, tbe build gets through the objective C stuff and crashes with
> this emacs out of memory error:

> 
> cp -f
> /home/pauljohn/LinuxDownloads/redhat/BUILD/swarm-2.1.147.
> 20030812/java/java-stub.el
> ./
> _java-stub.el
> TOP_BUILDDIR='/home/pauljohn/LinuxDownloads/redhat/BUILD/swarm-2.1.
> 147.20030812/=with-hdf'
> B
> UILDDIR='/home/pauljohn/LinuxDownloads/redhat/BUILD/swarm-2.1.147.
> 20030812/=with-hdf/java'
> S
> 
WARMSRCDIR='/home/pauljohn/LinuxDownloads/redhat/BUILD/swarm-2.1.147.20030812'
> /usr/bin/emac
> s -batch -f batch-byte-compile
> /home/pauljohn/LinuxDownloads/redhat/BUILD/swarm-2.1.147.2003
> 0812/=with-hdf/java/_java-stub.el
> Wrote
> /home/pauljohn/LinuxDownloads/redhat/BUILD/swarm-2.1.147.
> 20030812/=with-hdf/java/_java

> -stub.elc
> Done
> mv ./_java-stub.elc java-stub.elc
> rm -f ./_java-stub.el
> TOP_BUILDDIR='/home/pauljohn/LinuxDownloads/redhat/BUILD/swarm-2.1.
> 147.20030812/=with-hdf'
> B
> UILDDIR='/home/pauljohn/LinuxDownloads/redhat/BUILD/swarm-2.1.147.
> 20030812/=with-hdf/java'
> S
> 
WARMSRCDIR='/home/pauljohn/LinuxDownloads/redhat/BUILD/swarm-2.1.147.20030812'
> /usr/bin/emac
> s -batch -l
> '/home/pauljohn/LinuxDownloads/redhat/BUILD/swarm-2.1.147.
> 20030812/=with-hdf/jav

> a/java-stub.elc' -f java-run-all-unicode
> Activity failed
> ScheduleActivity failed
> SwarmActivity failed
> ForEachActivity failed
> Index failed
> PermutedIndex failed
> PermutedIndex failed
> ListIndex failed
> Could not find `listBegin:' in `List_any'
> Could not find `removeLast' in `List_any'
> Could not find `removeFirst' in `List_any'
> Could not find `addLast:' in `List_any'
> Could not find `addFirst:' in `List_any'
> MapIndex failed
> Memory exhausted--use M-x save-some-buffers RET
> make[2]: *** [Makefile.common] Error 255
> make[2]: Leaving directory
> `/home/pauljohn/LinuxDownloads/redhat/BUILD/swarm-2.1.147.2003081
> 2/=with-hdf/java'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/pauljohn/LinuxDownloads/redhat/BUILD/swarm-2.1.147.2003081
> 2/=with-hdf'
> make: *** [all] Error 2
> Bad exit status from /var/tmp/rpm-tmp.9367 (%build)

> That's a new one for me.

> 
> The emacs edition is:
> > rpm -q emacs
> emacs-21.2-144

> In the emacs usenet group, one guy suggests that I don't really have
> enough memory, but:

> > ulimit -a
> core file size        (blocks, -c) 0
> data seg size         (kbytes, -d) unlimited
> file size             (blocks, -f) unlimited
> max locked memory     (kbytes, -l) unlimited
> max memory size       (kbytes, -m) unlimited
> open files                    (-n) 1024
> pipe size          (512 bytes, -p) 8
> stack size            (kbytes, -s) unlimited
> cpu time             (seconds, -t) unlimited
> max user processes            (-u) 7168
> virtual memory        (kbytes, -v) unlimited

> 
> I'm not up against the open files limit? Am I?

> While the compilation is going, the "top" command says I've got lots of
> swap space left, but the actual physical memory is getting pretty close
> to the limit.

> top - 00:41:14 up 7 days, 12:32,  4 users,  load average: 1.32, 0.68, 
0.61
> Tasks:  77 total,   2 running,  75 sleeping,   0 stopped,   0 zombie
> Cpu(s):  19.0% user,   6.3% system,   0.0% nice,  74.7% idle
> Mem:   2068664k total,  1904424k used,   164240k free,   149820k buffers
> Swap:  4208976k total,        0k used,  4208976k free,  1329428k cached

> I can successfully build the RPM for swarm objective c, just not the
> java part because emacs is processing files.

> As usual, thanks for your ideas.

> humbly yours,

> PJ

> --
> Paul E. Johnson                       email: address@hidden
> Dept. of Political Science            http://lark.cc.ukans.edu/~pauljohn
> University of Kansas                  Office: (785) 864-9086
> Lawrence, Kansas 66045                FAX: (785) 864-5700

> 
> _______________________________________________
> Support mailing list
> address@hidden
> http://www.swarm.org/mailman/listinfo/support


reply via email to

[Prev in Thread] Current Thread [Next in Thread]