<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Tony, any tips on this one? :)<BR>
<BR>
<A href="mailto:jay@amd64a:~/dev2/cm3/m3-ui/zeus/AMD64_LINUX$">jay@amd64a:~/dev2/cm3/m3-ui/zeus/AMD64_LINUX$</A> /cm3/bin/stubgen -v1 -sno RemoteView.T -T.M3IMPTAB @M3nogc<BR>
<BR>
always succeeds.<BR>
<BR>
<A href="mailto:jay@amd64a:~/dev2/cm3/m3-ui/zeus/AMD64_LINUX$">jay@amd64a:~/dev2/cm3/m3-ui/zeus/AMD64_LINUX$</A> /cm3/bin/stubgen -v1 -sno RemoteView.T -T.M3IMPTAB<BR>
<BR>
usually fails:<BR>
<BR>***<BR>*** runtime error:<BR>*** NEW() was unable to allocate more memory.<BR>*** file "../src/runtime/common/RTAllocator.m3", line 285<BR>***<BR><BR>Formatter.m3:<BR>
<BR>
CONST ChunkSize = 128; (* Must be a power of 2 *)<BR><BR>
PROCEDURE New(wr: Wr.T; width: CARDINAL:= 75): T RAISES {} =<BR> BEGIN<BR> WITH t = NEW(T) DO<BR> t.wr := wr;<BR> t.width := width;<BR> t.indent := 0;<BR> <BR> t.numChars := 0;<BR> <BR> (* t.stream := RefStream{NIL, ..}; *)<BR> <BR> t.buffer := NEW (ExprBuf, 4 * ChunkSize); << this is the line that fails<BR>
<BR>
Lowering chunk size to 64 seemed to make it succeed more often, but not always.<BR>
I think I'll go back to MIPS64_OPENBSD..probably easier to track that problem down.<BR>
<BR>
- Jay<BR></body>
</html>