MACROMEDIA FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY Spezifikationen Seite 66

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 369
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 65
Configuring Flash Communication Server 45
<JSEngine> is a container for the next two tags, which control the resource usage of the
Server-Side Communication ActionScript engine.
<RunTimeSize> indicates the maximum number of bytes that a particular application instance
can use to run server-side ActionScript on the server before garbage collection is performed—
that is, before any unreferenced or unused ActionScript objects are purged from memory. The
default is 1024K or 1 MB. If you create a client application that requires more than 1 MB of
ActionScript memory, this value must be increased. If a new script object is created after
garbage collection that will cause the runtime size of the application instance to exceed the
value of the
<RunTimeSize> tag, an out-of-memory error occurs and the application instance
is shut down.
<GCInterval> specifies the amount of time that will pass between garbage collection cycles, in
minutes. The default value is 20 minutes. If you specify a different value, it must be between 1
and 1440 minutes (24 hours). To keep memory as free of unused objects as possible, set this to
a shorter interval. To avoid a brief decrease in performance during garbage collection, set this
to a longer interval.
Because garbage collection is processor intensive, it is recommended that you not set the
<GCInterval> tag to a value lower than the default.
<MaxTimeOut> indicates the maximum time in seconds that a server-side script function may
take to execute. If a script function takes longer than the specified amount of time, it will be
stopped by the server. Using this feature increases the processor workload. Setting this tag to a
value greater than 0 is useful for debugging scripts during development of your applications.
During deployment, it is recommended that you set this tag to the default value of 0, which
imposes no limit on the time scripts take to execute.
<ScriptLibPath> allows you to specify a location for scripts other than the default of
\flashcom_application_directory\application_name\ or
\flashcom_application_directory\application_name\scripts\. The server looks for scripts in the
default locations before looking at the path specified in this tag. Do not use quotation marks
when specifying the path.
<StreamManager> is a container for the next two tags, which control media streams.
<StorageDir> indicates the directory where streams should be recorded for each application.
The default is a directory named Streams in the applications directory. The default is used if no
directory is specified. When specifying a directory, use an absolute path.
The <GCInterval> tag inside the <StreamManager> tag specifies the interval between purges
of unused streams, in minutes. The default is 20 minutes. If you specify a different value, it
must be between 1 and 1440 minutes (24 hours). This value can be changed at runtime.
<EnhancedSeek> enables or disables finer seeking performance within streams. When this tag
is set to
true, the server inserts keyframes at the point in the stream where the seek begins if
there is no preexisting keyframe there. This results in better visual display while seeking. When
this tag is set to
false (the default), no keyframes are inserted by the server and seeks begin at
the nearest existing keyframe.
<SharedObjManager> is a container tag for the <StorageDir> tag.
Seitenansicht 65
1 2 ... 61 62 63 64 65 66 67 68 69 70 71 ... 368 369

Kommentare zu diesen Handbüchern

Keine Kommentare