Hello!!

I'm using Java 1.6.0_03, JMF and Fobs4JMF 0.4.1, in Ubuntu 7.10 (Kernel 2.6.22-14-generic).

My application plays videos all the time, 24 hours a day, but after 30 days working perfectly, crashes with OutOfMemory exception.

java.lang.OutOfMemoryError
        at sun.misc.Unsafe.allocateMemory(Native Method)
        at java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:99)
        at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:288)
        at com.omnividea.media.parser.video.VideoTrack.readFrame(VideoTrack.java:159)
        at com.sun.media.SourceThread.process(BasicSourceModule.java:664)
        at com.sun.media.util.LoopThread.run(LoopThread.java:135)

Command line:  
    # java -Xms256m -Xmx256m -XX:MaxPermSize=256m -XX:MaxDirectMemorySize=200M -jar APPLICATION.jar

Please, help!!!

Regards,
   Daniel