Somebody has a Jtella example? I'm programming an aplications based on JTella, but I have some problems to connect the peers because JTella launch a exception:
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start(Native Method)
at com.kenmccrary.jtella.util.SocketFactory.getSocket (SocketFactory.java:28)
at com.kenmccrary.jtella.Connection.startOutgoingConn ection(Connection.java:372)
at com.kenmccrary.jtella.OutgoingConnectionManager$Co nnectionStarter.run(OutgoingConnectionManager.java :227)
if I try to connect a lot of times and if I try to connect few times the peers not contects.
I need a complete example of a JTella aplication.
Thanks and sorry for my bad english. |