Bruce of Lingo & Director in a Nutshell doesn't recommend the Never priority.
And last I heard, you shouldn't really trust director's
freeBlock/Bytes. Try the BuddyAPI version of those commands.
roymeo
At 02:05 PM 7/27/2002 -0700, you wrote:
>which version/platform of Director are you using?
>
>At 11:49 AM -0700 7/27/02, you wrote:
>>Hi,
>>
>>We are trying to mprove performance of our application when it is running
>>off a CD.
>>We decided to use the Preload, Unload and purgePriority properties for a
>>selected number of cast members.
>>Preload is set to After Frame One, and purgePriority and Unload are set to
>>1 (last to unload).
>>We then use the traceLoad = 2 to trace loadind and unloading of cast
>>members.
>>To our surprise we see that the selected sprites are loaded correctly, but
>>then they are purged before being reloaded.
>>We also displayed freeBytes and freeBlocks to see whether the purging was
>>not due to lack of memory: at any given time we always had more than 200Mb
>>free on a 256Mb system.
>>We even set purgePriority and Unload to 0 (never unload) and still had teh
>>same result: load-purge-load.
>>
>>Any help is appreciated.
>>
>>Thanks.
>>
>>Anna.
>>
>>
>>Here is a sample for one the selcted cast members.
>>
>>
>>Time = 0 msec (4294955325 msec later).
>>Movie "MOV6_1_2_001" is on frame 1 (freeBytes = 269741860, 833608 bytes
>>released).
>>member 2 of castLib 1 ("6.1.2 Le contenu du CV") was loaded into memory.
>>Member is in movie "E:\DEVELOP\Modules_ALL\MOV6_1_2_001.dir"
>>File seek info: Seeked 10 to find member at file pos 164744. Read in 1580
>>bytes.
>>.
>>. (...loading and unloading of aother members...)
>>.
>>Time = 681 msec (202 msec later).
>>Movie "MOV6_1_2_001" is on frame 1 (freeBytes = 269751276, 57876 bytes
>>released).
>>member 2 of castLib 1 ("6.1.2 Le contenu du CV") was purged from memory.
>>Member is in movie "E:\DEVELOP\Modules_ALL\MOV6_1_2_001.dir"
>>File seek info: No file access occurred.
>>.
>>.(...loading and unloading of aother members...)
>>.
>>Time = 7759 msec (65 msec later).
>>Movie "MOV6_1_2_001" is on frame 2 (freeBytes = 269554832, 612 bytes
>>released).
>>member 2 of castLib 1 ("6.1.2 Le contenu du CV") was loaded into memory.
>>Member is in movie "E:\DEVELOP\Modules_ALL\MOV6_1_2_001.dir"
>>File seek info: Seeked between files! Seeked 3682 to find member at file
>>pos 164744. Read in 1580 bytes.
>>
>>
>>
>>
>>[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!]
>
>[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!]
[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!]