When a page expires/removed from the pagemap. Then the component is also removed.
Can't you regenereate the byte array on the component with some params?
Or are you sure that it will never be called twice?? Then you can just set the byte[] to null.

johan


On 5/27/06, Michael Welter <[EMAIL PROTECTED]> wrote:
I have modeled an Audio class from the Image class.  The Audio class
extends WebComponent and implements IResourceListener.  The component
contains a byte[] aray containing the audio stream, and I am able to
play audio from the web page.

My question is:  When are these components flushed from memory?  Is
there something I should do to make them available for garbage collection?

Thanks,

Reply via email to