[jboss-user] [JBossCache] - Re: Random 1.6gb object allocation attempt when using tcppin

youngm do-not-reply at jboss.com
Thu Mar 13 14:31:09 EDT 2008


I have some more info.  If found the line of code that is allocating the 1.6gb byte[].  

BasicConnectionTable.run():577


  | 575:                  len=in.readInt();
  | 576:                   if(len > buf.length)
  | 577:                       buf=new byte[len];
  | 

So you were correct it would appear that it is recieving a bad packet of some sort which is identifying it's length incorrectly.

Can you provide any insights as to what if any jgroups code might be attempting to send to the socket this code is listening on?  Or where this bad packet might be coming from?

Mike

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136429#4136429

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136429



More information about the jboss-user mailing list