> From: Greg Bungo [mailto:[EMAIL PROTECTED]]
> In addition to Eric's suggestion, you may want to be
> sure you really do have 2 segments.  I thought I had
> multiple segments in my project, but I really didn't.

You are referring to multiple code segments here (which Jason says he has)
but the problem is with his data segment, and these are unrelated issues.
You can have as many code segments as you want but only one data segment per
application.  Despite what the CodeWarrior segment window says, the linker
will just smoosh all global data objects together into the single data
segment.  The data segment is limited to about 64K size, because it's just a
regular heap memory chunk at run time.  Also, it appears that within the
data segment, the "initialized data" and "uninitialized data" areas can each
be only 32K in size (from my brief testing of these limits).  That may be
the limit Jason is running into.

-slj-

Reply via email to