Menu

How to correctly close a video file in fobs?

user
Anonymous
2010-03-22
2013-05-09
  • Anonymous

    Anonymous - 2010-03-22

    hi all,
    i was trying to build a project which will play a list of large video files in java. however the program crashes after switching between the video files for about 50 times. From the task manager I can see memory increases and later on i did a thread trace in eclipse and found there are lots of
    "Deamon System Thread  (Suspended)" and
    "Deamon System Thread  (Suspended)" exist in the debug window.

    In my code, before loading a new video file, I try "close()" the current MediaPlayer object. However I think there must be something that I forget to do here, could anyone tell me what is the correct way to close a video file so any resource and thread related will be released and closed? thank you

     
  • Anonymous

    Anonymous - 2010-03-22

    forgot to add some info
    os: windows 7 32-bit
    java: jre6
    fobs4jmf: 0.41

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.