activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "james strachan (JIRA)" <>
Subject [jira] Commented: (AMQ-735) Possible 4.0 consumer client memory leak?
Date Sat, 10 Jun 2006 03:24:52 GMT
    [ ] 

james strachan commented on AMQ-735:

So having about 809 Message objects in RAM doesn't particularly seem like a memory leak. The
ActiveMQ JMS client will cache a pre-fetch size of messages in RAM

the default for topics is about 4000 messages. You could set this to a really small value,
like 10 if you like.

> Possible 4.0 consumer client memory leak?
> -----------------------------------------
>          Key: AMQ-735
>          URL:
>      Project: ActiveMQ
>         Type: Bug

>   Components: JMS client
>     Versions: 4.0
>  Environment: windows xp pro, jdk 1.5, AMQ 4.0 (incubator)
>     Reporter: Karthik Sethuraman
>     Priority: Critical
>  Attachments:,,
> On running the attached test programs (one producer on a topic, one consumer on a topic),
the consumer eventually encounters OutOfMemoryError after receiving around 64 MB of messages).
Default JVM heap size is used (64 MB).
> The problem does not happen with RC2 build.
>  The test programs allows specification of message payloads of different sizes and different
message rates, as well number of  producer/consumer threads/instances., topics and topic connection
factories, via user environment variables.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message