Setting prefetch to 1 on the connection in either ways does not seem to
work; It seems like the server reads every message into memory anyway, and
the server fails. (I tried this with the example queue consumer / producer,
setting the message to 600k and produce 500 messages, and then try to
consume them). Is there any way to control this in activemq.xml?

Regards,
John


James.Strachan wrote:
> 
> On 07/01/2008, CJohn <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> Regrettably, the latest AMQ 5 still has problems with memory on the
>> consumer
>> side,
> 
> In what way?
> You tried reducing the prefetch size to 1?
> http://activemq.apache.org/what-is-the-prefetch-limit-for.html
> 
> 
>> and using BLOBs really solves a different set of requirements than
>> what was asked; I have also had similar problems, and have not found a
>> working combination of an activemq version and persistence solution that
>> can
>> handle and persist 10MB messages.
> 
> The BLOB support is intended for large messages (anything > 1MB really)
> 
> -- 
> James
> -------
> http://macstrac.blogspot.com/
> 
> Open Source Integration
> http://open.iona.com
> 
> 

-- 
View this message in context: 
http://www.nabble.com/any-activemq-version-that-can-handle-%3E1mb-message-size-tp14616609s2354p14709302.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to