home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os9
- Path: sparky!uunet!mcrware!smcgee
- From: smcgee@microware.com (Scott McGee)
- Subject: Re: Need ideas on gpp problems
- Message-ID: <1992Dec19.054041.3991@microware.com>
- Sender: smcgee@microware.com (Scott McGee)
- Nntp-Posting-Host: wales
- Organization: Microware Systems Corp., Des Moines, Iowa
- References: <1992Dec4.150851.1@skyler.mavd.honeywell.com> <1gqd5kINNdkp@agate.berkeley.edu>
- Date: Sat, 19 Dec 1992 05:40:41 GMT
- Lines: 33
-
- In article <1gqd5kINNdkp@agate.berkeley.edu> kientzle@beirut.berkeley.edu (Tim Kientzle) writes:
- >In article <1992Dec4.150851.1@skyler.mavd.honeywell.com> magnuson@skyler.mavd.honeywell.com (Randy Magnuson) writes:
- >>I just downloaded gcc from cabrales and am having problems with gpp.
- >>gpp: Can't fork 'cc1plus'.Error #000:237 (E$NoRAM) No RAM Available.
- >>According to mfree, I have about 1.5 Mb free RAM.
- >>
- >Memory fragmentation. I've found that besides the total amount of
- >free RAM, another relevant statistic is the largest block returned
- >by "mfree -e". As someone pointed out, cc1plus is over 800k, so
- >unless you have an 800k block of free memory, any attempt to run
- >cc1plus will fail. Sometimes rebooting and judiciously terminating
- >programs can give you a big block of contiguous memory.
- > - Tim Kientzle
-
- Another thing that contributes to this problem is colored memory. I recently
- ran into a problem where I had over a meg and a half free but couldn't get a
- chunk bigger than about 700K. I finally got a utility that lists memory by
- color and found that I had about 700 and some odd K of one color and 600 and
- a bit of a second color. No wonder I couldn't get a bigger contigious block!
-
- One trick I found for "sometimes" getting around such problems is to do a
- shell #1000000
- just before a command that needs a lot of ram. That will boot all the sticky
- modules out of memory but still fail for lack of mem, resulting in a null
- command. Cute trick. (I got it from my boss!)
-
- Scott
-
- Buttered bread always lands * Would YOU mistake these
- butter side down! (Unless * opinions as anyone`s
- it sticks to the ceiling!) * but my own?
- smcgee@microware.com (Scott McGee)
-
-