Im still uncertain if the fix steve gave me actually helped with the outofmemory errors or it was after moving some things back to progressive download but ive stopped getting them, however it wasnt stopping causing the server to hang. There is a constant problem for me in this method, its wierd these scaling and resource problems have only just happened,
okayToSendMessage(PlaylistSubscriberStream.java:1242) Dan Rossi wrote: > Hi the flags dont seem to help as giving 1.5G to java will throw > exceptions when using 300MB of it, its a bug in the code it seems if > everyone is getting it, i had to pull out some of the connections back > to progressive download to relieve the threading as it was causing it to > hang, im reluctant to put it all back until there is a fix. > > . m a r c o s a u g u s t o wrote: > >> I'm no java guy... but I launch eclipse like this: "eclipse.exe >> -vmargs -Xmx800M" .. to increase the heap size.... maybe..... >> >> >> On 5/1/07, Justin Gehring <[EMAIL PROTECTED]> wrote: >> >> >>> Greetings All, >>> >>> I recently upgraded from .6 RC1 to .6 production. Everything was going >>> smoothly until today when I discovered that a few (and it is just a few) >>> of the mp3s we have been pushing out are now causing an out of memory >>> error with the heap. I'm not entirely sure why this would be happening, >>> given that FLV files that are 3 to 4 times the size of this mp3 work >>> fine. I've posted the exact error message being spit out by Red5. >>> >>> If anyone has a solution other than boosting the java heap space past >>> it's defaults, I would love to hear it (if that's the only solution, I >>> would love to hear how you can compile them in). >>> >>> Thanks for the help! >>> >>> ---------------------- >>> Begin Red 5 Error >>> ---------------------- >>> >>> ( org.red5.server.messaging.InMemoryPullPullPipe.pullMessage ) exception >>> when pulling message from provider >>> java.lang.OutOfMemoryError: Java heap space >>> at >>> com.sun.org.apache.xml.internal.utils.NodeVector.addElement(NodeVector.java:128) >>> at >>> com.sun.org.apache.xpath.internal.axes.NodeSequence.nextNode(NodeSequence.java:288) >>> at >>> com.sun.org.apache.xpath.internal.axes.NodeSequence.runTo(NodeSequence.java:435) >>> at >>> com.sun.org.apache.xml.internal.dtm.ref.DTMNodeList.<init>(DTMNodeList.java:79) >>> at >>> com.sun.org.apache.xpath.internal.objects.XNodeSet.nodelist(XNodeSet.java:339) >>> at >>> com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.getResultAsType(XPathExpressionImpl.java:353) >>> at >>> com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.eval(XPathExpressionImpl.java:99) >>> at >>> com.sun.org.apache.xpath.internal.jaxp.XPathExpressionImpl.evaluate(XPathExpressionImpl.java:180) >>> at >>> org.red5.io.FileKeyFrameMetaCache.loadKeyFrameMeta(FileKeyFrameMetaCache.java:111) >>> at >>> org.red5.io.mp3.impl.MP3Reader.analyzeKeyFrames(MP3Reader.java:430) >>> at org.red5.io.mp3.impl.MP3Reader.<init>(MP3Reader.java:140) >>> at org.red5.io.mp3.impl.MP3.getReader(MP3.java:48) >>> at >>> org.red5.server.stream.provider.FileProvider.init(FileProvider.java:224) >>> at >>> org.red5.server.stream.provider.FileProvider.pullMessage(FileProvider.java:124) >>> at >>> org.red5.server.messaging.InMemoryPullPullPipe.pullMessage(InMemoryPullPullPipe.java:76) >>> at >>> org.red5.server.stream.PlaylistSubscriberStream$PlayEngine.play(PlaylistSubscriberStream.java:967) >>> at >>> org.red5.server.stream.PlaylistSubscriberStream$PlayEngine.play(PlaylistSubscriberStream.java:813) >>> at >>> org.red5.server.stream.PlaylistSubscriberStream.play(PlaylistSubscriberStream.java:229) >>> at >>> org.red5.server.stream.StreamService.play(StreamService.java:225) >>> at >>> org.red5.server.stream.StreamService.play(StreamService.java:255) >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> at java.lang.reflect.Method.invoke(Method.java:597) >>> at >>> org.red5.server.service.ServiceInvoker.invoke(ServiceInvoker.java:181) >>> at >>> org.red5.server.net.rtmp.RTMPHandler.invokeCall(RTMPHandler.java:174) >>> at >>> org.red5.server.net.rtmp.RTMPHandler.onInvoke(RTMPHandler.java:355) >>> at >>> org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(BaseRTMPHandler.java:126) >>> at >>> org.red5.server.net.rtmp.RTMPMinaIoHandler.messageReceived(RTMPMinaIoHandler.java:116) >>> at >>> org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived(AbstractIoFilterChain.java:703) >>> at >>> org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:362) >>> at >>> org.apache.mina.common.support.AbstractIoFilterChain.access$1200(AbstractIoFilterChain.java:54) >>> >>> >>> -------------------- >>> End Error >>> -------------------- >>> >>> _______________________________________________ >>> Red5 mailing list >>> [email protected] >>> http://osflash.org/mailman/listinfo/red5_osflash.org >>> >>> >>> >>> >>> >> >> > > > _______________________________________________ > Red5 mailing list > [email protected] > http://osflash.org/mailman/listinfo/red5_osflash.org > > _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
