Movieplayer overload memory

I have 32 little movie players to show short 2 second clips when the button on top of it is clicked. Each movie is around 0.5 MB in size.

Seems like the app memory demand goes up with every movie played and eventually it bombs out. It does not show as outofmemory exception or any other from the xojo list and only shows in a general catch. It also doesn’t bomb out on the Simulator.

It also does not show which, only “An exception of type RuntimeException was caught” using this code:

Catch e As RunTimeException
MessageBox(“An exception of type " + e.Type + " was caught.”)
End try

What is the way around it? Thanks!

What kind of exception do you get?

Var eType As String = IntroSpection.GetType(e).FullName

Where e is the runtimeException param

I think 32 players is bit much, i can’t expect apple to have it designed in the way that more than 1 player would be ideal?

1 Like

An exception of type RuntimeException was caught. That’s all, no details. Using this:

Catch e As RunTimeException
Var eType As String = IntroSpection.GetType(e).FullName
MessageBox(“An exception of type " + eType + " was caught.”)
End try

1 Like

No message or reason?

Then file a bugreport so they can fix the exception.
All i can say is don’t create 32 players i think it’s just too much.

Perhaps you can try the Console to see if there is a log message in it?

Thanks I’ll do so…