[Spread-users] java.lang.OutOfMemoryError

Tyler Hammond thammond at millburncorp.com
Thu Apr 21 11:26:04 EDT 2005


I am attempting to use the AdvancedMessageListener.  If I send messages 
from another app too quickly, I get java.lang.OutOfMemoryError reported 
on my console with no trace.  Messages are no longer received after I 
see out of memory.  If I slow down the sending of messages, (fewer than 
10 per second) they are received fine.

Is there a problem or known limitation with using 
AdvancedMessageListener?  I have not even sent a membership message to 
the listener yet.
I have synchronized the *MessageReceived functions.  Is that necessary?
There is no processing done in the *MessageReceived functions, all I am 
doing is printing the message which is < 30 bytes.


######################################################################
This e-mail is confidential and should not be redistributed or
forwarded by the recipient.  The information contained in this e-mail
message is intended only for the use of the individual or entity named
above.  If the reader of this message is not the intended recipient or
you have received this communication in error, please immediately
notify us by telephone.  Receipt by anyone other than the intended
recipient is not a waiver of any work-product or, if applicable,
attorney-client privilege.

This e-mail does not constitute an offering of any security.  Such an
offering may only be made by means of a private placement memorandum
or other disclosure document.  Nothing in this e-mail constitutes
investment advice.  Past performance is not indicative of future
results.  All e-mail to and from Millburn Ridgefield Corporation and
its affiliates is monitored, stored and made available to regulators
if requested.
######################################################################




More information about the Spread-users mailing list