[M3devel] AMD64_LINUX gc/stubgen

Jay jay.krell at cornell.edu
Sun Nov 9 15:09:10 CET 2008


Tony, any tips on this one? :)
 
jay at amd64a:~/dev2/cm3/m3-ui/zeus/AMD64_LINUX$ /cm3/bin/stubgen -v1 -sno RemoteView.T -T.M3IMPTAB @M3nogc
 
always succeeds.
 
jay at amd64a:~/dev2/cm3/m3-ui/zeus/AMD64_LINUX$ /cm3/bin/stubgen -v1 -sno RemoteView.T   -T.M3IMPTAB
 
usually fails:
****** runtime error:***    NEW() was unable to allocate more memory.***    file "../src/runtime/common/RTAllocator.m3", line 285***Formatter.m3:
 
CONST ChunkSize = 128; (* Must be a power of 2 *)
PROCEDURE New(wr: Wr.T;  width: CARDINAL:= 75): T RAISES {} =  BEGIN    WITH t = NEW(T) DO      t.wr := wr;      t.width := width;      t.indent := 0;        t.numChars := 0;        (* t.stream := RefStream{NIL, ..}; *)        t.buffer := NEW (ExprBuf, 4 * ChunkSize);  << this is the line that fails
 
Lowering chunk size to 64 seemed to make it succeed more often, but not always.
I think I'll go back to MIPS64_OPENBSD..probably easier to track that problem down.
 
 - Jay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20081109/00d5c623/attachment-0001.html>


More information about the M3devel mailing list