From: Patrice on
Hello

I'm working with mac OS 10

And when I try to create a audioplayer object, I've got this bug
Can anyone help me ?

Thanks a lot

>> player = audioplayer(song, sr);
??? Error using ==> audioplayer.audioplayer at 189
Failed to retrieve Exception Message


java.lang.OutOfMemoryError: Java heap spaceException in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)