• Post Reply Bookmark Topic Watch Topic
  • New Topic

JMF and java.lang.OutOfMemoryError: Java heap space  RSS feed

 
Payam Fard
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • 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?
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • 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.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!