5 Replies Latest reply on Mar 5, 2010 1:56 PM by rfrishbe

    VideoPlayer Memory Leak

    cdman522

      I'm working on a project that has a videoPlayer that displays video from a database. The different videos are displayed in a list and can be selected and played. If I click through all the videos and watch them over and over, I can see the memory usage slowly increment. Usually by about 2000 k after each video or after a couple of videos.

       

      While profiling I noticed that the following classes had an equal number of instances to the number of times I clicked and loaded a video:

      VideoElement, ViewableTrait, SpatialTrait, LoadableTrait,, NetLoader, MediaTypeFacet, URLResource, RelativeLayoutFace, MediaElementLayoutTarget, LayoutAttributesFacet, HostFormatHelper.

       

      Has anyone else ran into memory problems with the spark VideoPlayer? Any ideas on how to eleminate the memory leak?

       

      Thanks,

      cdman