Win a copy of Java Challengers this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • paul wheaton
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • Mikalai Zaikin
  • Himai Minh

JMF and java.lang.OutOfMemoryError: Java heap space

 
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using Media Player (part of JMF) to show some videos in a loop. After sometime, I get the following error message:

java.lang.OutOfMemoryError: Java heap space

Has anyone seen this behavior before and has a solution for it? I was searching the sun java forums and people were saying that JMF has a memory leak and it dated back to couple of years ago!!!

If this does not have a solution, what would be some alternatives to JMF if the application is a 100% Java Swing application?
 
Rancher
Posts: 43024
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
QuickTime for Java from Apple can play movies, and is being kept up to date. It's available for Windows and OS X only, though.
 
reply
    Bookmark Topic Watch Topic
  • New Topic