[jboss-user] [JBoss Messaging] - Re: Problem with large strings

2006-07-27 Thread ONIT
Hi Tim, Stupidity hurts. I am in debug mode and was outputing the 400K string to the console. That is what killed it. Now the messaging takes 16 milliseconds. Sorry about that. Thanks, Dennis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961353#3961

[jboss-user] [JBoss Messaging] - Re: Problem with large strings

2006-07-27 Thread timfox
| Connection conn = cf.createConnection(); | | conn.start(); | | Session sess = conn.createSession(false, Session.AUTO_ACKNOWLEDGE); | | MessageProducer prod = sess.createProducer(queue); | | prod.setDeliveryMode(DeliveryMode.NON_PERSISTENT

[jboss-user] [JBoss Messaging] - Re: Problem with large strings

2006-07-27 Thread ONIT
Hi Tim, Could you send me the code you are using for testing? Thanks, Dennis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961335#3961335 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961335 __

[jboss-user] [JBoss Messaging] - Re: Problem with large strings

2006-07-27 Thread timfox
Forget eclipse. Just start a jboss 4.0.4 installation with jboss messaging from the command line, then write a very simple jms application that just sends a and receives a big message, run it from the command line and tell me what happens. View the original post : http://www.jboss.com/index.h

[jboss-user] [JBoss Messaging] - Re: Problem with large strings

2006-07-27 Thread ONIT
Hello Tim, Thanks for the quick response. Your results sound very encouageing. I didn't bother you with the details since I thought you would experience the same problem. I am using: JBoss_4_0_4_GA JBoss Messaging 1.0.1.CR3 Windows XP Professional Everything is on one JBoss server. I have a

[jboss-user] [JBoss Messaging] - Re: Problem with large strings

2006-07-27 Thread timfox
With the same setup I can send/receive a 50MB message in about 2 seconds. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961270#3961270 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961270 _

[jboss-user] [JBoss Messaging] - Re: Problem with large strings

2006-07-27 Thread timfox
I have tried sending a text message with 500K characters of text from one consumer to the server and receiving it again. For a non persistent message, my send takes about 68 milliseconds, and the receive takes about 10ms. For a persistent message it takes 78 milliseconds for the send and 10 aga

[jboss-user] [JBoss Messaging] - Re: Problem with large strings

2006-07-27 Thread timfox
This is strange. Are you talking about the memory on the client or the server? How are you measuring the memory? Are you measuring the memory before sending and comparfing it to the value after sending? Is the message persistent? Are you using a database? If so, which one? What version of mes