[futurebasic] Re: [FB] FB3 no clue

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : July 2003 : Group Archive : Group : All Groups

From: Robert Covington <artlythere@...>
Date: Sun, 13 Jul 2003 19:25:40 -0400
On Sunday, July 13, 2003, at 05:36  PM, JLemons660@... wrote:

> I am using FB3 Release 7 with Mac OS 9.1
> I just compiled and built a rather small program which, when I check 
> in the
> Apple menu is using over 40Mb of memory. My system only uses 38+.
>
> I have a couple of other small programs which were compiled and built 
> and use
> about 3MB of memory. When I open these projects and build them (with
> different names) they now require over 40MB.
>
> Any suggestions?
>
> John Lemons
> JLemons660@...

Your project's resource file  has perhaps a size resource that got set 
higher somehow, or you have some DIM Systems(Mucho mucho) in there 
somewhere perhaps?

Or, you have DIMed some non-dynamic arrays that are tanking up the heap 
way on up there maybe?

Build a plain old

Print "hello"
Do
until FN button

and see what that  takes. (should be near same as the size resource 
reports in Get Info)

Then make a project with just the above as your main, and which also 
uses your resources file.

If still the same, then it's not the Size in your resources (you can 
just look in ResEdit too)

Finally, copy on over, and add any globals from the problem project to 
the test project. Build again and run...if that's your problem, then it 
is probably some multi-dimensional array , or a giant string array all 
at 255 length.

Hope something here is a clue.

Robert