Thread View: net.lang.st80
3 messages
3 total messages
Started by Herb Barad
Mon, 04 Aug 1986 19:35
Problems with BS II
Author: Herb Barad
Date: Mon, 04 Aug 1986 19:35
Date: Mon, 04 Aug 1986 19:35
36 lines
1665 bytes
1665 bytes
I have been using BS II for a little while now. I have run into a few problems. When trying to perform a simulation, I get the fatal error: "ggcCopy: out of new space for context <aMethodContext>". Interrupt or kill me. Another error that I has happend in similar situations is: "Overflow Remembered <aSemaphore>". Interrupt of kill me. I know that my code is ok, since I have run the same code (untouched) on my 1 Megabyte Mac+ using the newest release of MacST. Any hints on how to cure this? Also, the System Tracer doesn't seem to work properly - anybody experience problems with it? I plan to get access to Xerox's PS system. How does this compare to BS II? Will these problems go away? Better garbage collection, virtual memory management, etc.???? Thanks for the help.... -- Herb Barad [USC - Signal and Image Processing Institute] USENET: ...!sdcrdcf!usc-oberon!brand!barad or ...!mcvax!seismo!sdcsvax!sdcrdcf!usc-oberon!brand!barad ARPANET: barad%brand@USC-ECL.ARPA USMail: Univ. of Southern California Powell Hall 306, MC-0272 Los Angeles, CA 90089-0272 phone: (213) 743-0911
Re: Problems with BS II
Author: Michael O'Brien
Date: Tue, 05 Aug 1986 22:22
Date: Tue, 05 Aug 1986 22:22
59 lines
2893 bytes
2893 bytes
In article <243@brand.UUCP> barad@brand.UUCP (Herb Barad) writes:
>
> I have been using BS II for a little while now. I have run into a
>few problems. When trying to perform a simulation, I get the fatal
>error:
>
>"ggcCopy: out of new space for context <aMethodContext>". Interrupt
>or kill me.
This means that you have run off the end of one of your memory spaces. I found
the default space lengths unmanageable. I set NewLength to 350 and
OldLength to 1700. I also set SurvivorLength to 350 as well to go with
NewLength.
>Another error that I has happend in similar situations is:
>
>"Overflow Remembered <aSemaphore>". Interrupt of kill me.
This one is much, much harder. There is a wired-in array called Remembered
which I found to be far too short. It started out at 800 and I made it 10,000.
DON'T DO THIS BLINDLY! IT WILL INVALIDATE ALL OLD IMAGES! The array is
saved as part of the image and unless you write conversion software (I didn't
since I ran into it fairly early) you will have to start from scratch,
running "rot" on a Xerox image.
>Any hints on how to cure this? Also, the System Tracer doesn't seem
>to work properly - anybody experience problems with it?
It doesn't work AT ALL. It still thinks there's an OT. There isn't.
The VMemWrite function can be duplicated in considerably less time
by running "Smalltalk reorganize" (seconds instead of hours), and a new
sources file can be built with "Smalltalk newSourceFile:without:" but
I have found no substitute for the class-winnowing feature.
>I plan to get access to Xerox's PS system. How does this compare to
>BS II? Will these problems go away? Better garbage collection,
>virtual memory management, etc.????
I wish I knew what PS had inside it. All I can say is that with an
assembler-coded VM, it is much faster, and it has had more man-hours poured
into it by far. I would expect a cleaner, faster, supported product.
However, you give up the ability to dink with the VM.
> Thanks for the help....
Glad to. Let me know your experiences! I have several bugfixes I can
tell you about...
>--
>
>Herb Barad [USC - Signal and Image Processing Institute]
--
Mike O'Brien
The Rand Corporation
{sdcrdcf,decvax}!randvax!obrien
obrien@rand-unix.arpa
Re: Problems with BS II
Author: johnson
Date: Fri, 08 Aug 1986 13:43
Date: Fri, 08 Aug 1986 13:43
10 lines
1069 bytes
1069 bytes
BS has a very interesting and elegant memory management scheme called "generation scavenging" that is described in the May 84 issue of both Software Engineering Notes and SIGPLAN Notices. It uses several different memory areas for garbage collection. The sizes of these areas can be changed by setting environment variables. Unfortunately, the default sizes are set too small. Try setting the environment variable SurvivorLength to 35. That got rid of the errors here. Ralph Johnson
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads