Re: OutOfMemoryError

Tim Anderson <[email protected]> Fri, 15 Dec 2006 23:13:41 +1100
Newsgroups gmane.comp.java.openjms.user
Message-ID <[email protected]>
The server has run out of memory. You haven't provided much information
to go on, so all I can suggest is that you make sure you are not leaking
sessions or connections.

-Tim


杜娟 wrote:
> hi all
>   i use openjms-0.7.7-alpha-1 and http connnector with tomcat
>   yestoday,i got the exception as follow
>
> Exception in thread "http-server://ip:3030/[acceptor]" 
> java.lang.OutOfMemoryError: unable to create new native thread
>         at java.lang.Thread.start0(Native Method)
>         at java.lang.Thread.start(Thread.java:574)
>         at org.exolab.jms.net.multiplexer.MultiplexedManagedConnection.setInvocationHandler(MultiplexedManagedConnection.java:205)
>         at org.exolab.jms.net.connector.DefaultConnectionPool.add(DefaultConnectionPool.java:415)
>         at org.exolab.jms.net.connector.DefaultConnectionPool.accepted(DefaultConnectionPool.java:282)
>         at org.exolab.jms.net.socket.SocketManagedConnectionAcceptor$Dispatcher.run(SocketManagedConnectionAcceptor.java:323)
> Exception in thread "RMI RenewClean-[ip:1117]" java.lang.OutOfMemoryError: unable to create new native thread
>         at java.lang.Thread.start0(Native Method)
>         at java.lang.Thread.start(Thread.java:574)
>         at sun.rmi.transport.tcp.TCPChannel.free(TCPChannel.java:322)
>         at sun.rmi.server.UnicastRef.free(UnicastRef.java:395)
>         at sun.rmi.server.UnicastRef.done(UnicastRef.java:412)
>         at sun.rmi.transport.DGCImpl_Stub.dirty(Unknown Source)
>         at sun.rmi.transport.DGCClient$EndpointEntry.makeDirtyCall(DGCClient.java:328)
>         at sun.rmi.transport.DGCClient$EndpointEntry.access$1600(DGCClient.java:144)
>         at sun.rmi.transport.DGCClient$EndpointEntry$RenewCleanThread.run(DGCClient.java:539)
>         at java.lang.Thread.run(Thread.java:595)
>
>
> 	why?
> 	thank you !
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
openjms-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openjms-user