Out of Memory Error

Hello,

I know that it is not really related to OpenAL but when I try to load the background music files from my Quake 3 map loader it reports an out of memory error, since the file is almost 18 MB. So I was wondering what I should do … presume if I increase the amount of memory for my run time it might work, but I kinda forgot how to do it in Enclipse … else if someone could give me or tell me a good/better way to load the music files instead of first making an input stream out of them and then converting them to a byte[], would be great as well …

thanx

I’m getting a similar error (whilst using joal under Xith):

ALFactory.init - Native: Enter
ALFactory.init - Native: Exit
Pointer = 104348400
ALC = net.java.games.joal.ALCImpl@42552c
no more sources available : OUT OF MEMORY
OpenAL sound driver initialized with 32 availble sources
Exception in thread “main” java.lang.Error: A null URL was passed to MediaContainer.
at com.xith3d.scenegraph.MediaContainer.(MediaContainer.java:74)
at com.xith3d.test.SoundTest.(SoundTest.java:134)
at com.xith3d.test.SoundTest.main(SoundTest.java:258)

Could anyone give some hints?

Guoshima,

Change the shorcut of eclipse to something like:

eclipse.exe -vmargs -Xmx256m

It didn’t help me anyway :stuck_out_tongue:

I’m trying to update my .dlls… I think there’s where the problem lies :stuck_out_tongue:

Just did it, as it was mentioned in a previous post and got a different error now:

ALFactory.init - Native: Enter
ALFactory.init - Native: Exit
Pointer = 104007248
ALC = net.java.games.joal.ALCImpl@42552c
no more sources available : INVALID VALUE
OpenAL sound driver initialized with 29 availble sources
Exception in thread “main” java.lang.Error: A null URL was passed to MediaContainer.
at com.xith3d.scenegraph.MediaContainer.(MediaContainer.java:74)
at com.xith3d.test.SoundTest.(SoundTest.java:134)
at com.xith3d.test.SoundTest.main(SoundTest.java:258)

Hmm…