Hi
With the help from this forum we have been making progress understanding our
memory usage. See the separate thread: [Laszlo-user] Understanding memory
analysis when using _LzDebug.whyAlive()
We're now at the point were we see that the "smoots" taken up by Laszlo objects
are not all of our memory usage. It seems a large part (large percentage of
total RAM usage, maybe even more than 50%) may be used elsewhere, perhaps in
the Flash objects that are "underneath" the Laszlo objects.
Questions:
1. Is there any tool or technique that allows us to analyze exactly how
this memory is being used by Flash? ("underneath" the laszlo objects, I mean)
2. Are there any guidelines to help us optimize this Flash part of our
memory usage?
3. More generally is there any way to use Flash-specific optimization
techniques (going to the ActionScript where necessary). We know that in pure
Flash there are several optimization techniques; the following points are
examples of things we wish to try
4. Can we in general call pieces of ActionScript from Laszlo script?
5. Bitmap caching:
• SWF resources can be translated once into bitmaps (on the client
side) and cached
• you probably know this is known as bitmap caching.
• Then the bitmaps are used repeatedly instead of rendering the SWF
objects repeatedly.
• Can we do Bitmap Caching for all those vector graphics which do not
change frequently (from Laszlo, but possibly with specific usage of
Actionscript if necessary)
6.
Garbage collection: we would like to trigger the Flash garbage collection just
to test what is going on (as a test not permanent change). Any way for us to do
this?
Thank you
Gilad
Gilad Parann-Nissany