Displaying Flash shared code

The File Manager enables you to display the current usage of the shared memory segment, which contains the shared FlashBASIC object code.

Procedure

Select Flash Shared Code from the Tools menu.

The Flash Shared Code Memory Usage dialog box displays.

The table below describes the fields and buttons in this dialog box:

Control/Field Description
Used Display the used blocks. This list displays the following information:
  Handle Shared memory address.
  Size K Size in KB of the segment.
  Usage Number of programs currently using this code.
  Flags Set to 1 if the module stays loaded in memory, even if it is currently unused (Usage=0). Below is the list of possible values decoded by the most important bit:
    Bad Corrupted header
    Lost Abandoned block
    Old Obsolete block
    Sticky Not implemented
    Local Not shared
    Free Not used
    Shared Normal
    Bit values display in decimal and are:
    1 Unused
    2 Main
    4 Sticky
    8 Local
    16 Case
    32 No Text
    64 Interp
    128 Obsolete
    256 Abandoned
  Status Possible values are:
    Bad Invalid signature. Displays with the signature
    OK Normal
    Err Corrupted object. Displays with the header lock
    Loading Block allocated but the object has not been loaded and relocated
  Cataloged Name File and record name of the module.
  Unique Name File Control Block Frame Identifier (FCB FID) and Item-ID (IID).
Free Display the free blocks. The size in kilobytes (KB) is displayed.
Clear All Clear (release) all used blocks. This button is only available when the used blocks are displayed, and if there is at least one used block.
Warning: This option can cause severe aborts if used while an application is currently running a module and should be used with extreme caution.
Note: This segment is self-extensible, by chunks of 512 KB, and is created on demand. Therefore, it is possible that no free segment and no used segment display in the list if no FlashBASIC program was ever run on the system.
Save Saves a copy of the current Flash shared code to a file. This is useful for debugging purposes for Rocket support.