The message window is a poor test.  For one thing, you're writing into the 
message window itself, which allocates space IN the message window memory 
area to accomodate the string you're writing.

A better test is to put a text field on stage, and update that text member 
with the current memory quantity.  This way it's not cumulative, and you're 
not constantly re-allocating memory while you do the update, thus tainting 
the results.

- Tab

At 01:19 PM 12/6/01 -0800, Kerry Thompson wrote:
>I've run some tests, and they don't look good.
>
>I start with a totally new movie--no cast, no sprites, no scripts, not
>even running. Blank slate. Use system temporary memory disabled.
>
>In the message window, I repeatedly do "put the freebytes". While the
>memory inspector stays constant, I get this from the freebytes:
>-- 33418944-- 33418760-- 33418548-- 33418332-- 33417544-- 33417348-- 
>33417144-- 33416932-- 33416680
>Then I switch to "put the freebytes/1024"-- 32633-- 32632-- 32632-- 
>32632-- 32631-- 32631-- 32633-- 32630-- 32630-- 32630-- 32630-- 32629-- 
>32629-- 32628-- 32628-- 32628-- 32628-- 32627
>I'm getting similar results on Windows (ME). But, Buddy's
>baMemoryInfo("free ram") returns this:
>20934656
>20930560
>20930560
>20930560
>20930560
>20930560
>
>Now who ya gonna trust? I assume the difference in the first two is
>because of the Buddy instantiation. Gary tells me that Buddy uses system
>API calls. Unfortunately, it doesn't seem to work on the Mac.
>
>Cordially,
>
>Kerry Thompson


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to