You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Torsten Mielke (Created) (JIRA)" <ji...@apache.org> on 2011/12/23 10:18:30 UTC

[jira] [Created] (AMQ-3643) vmQueueCursor does not honour system wide memoryUsage limit

vmQueueCursor does not honour system wide memoryUsage limit
-----------------------------------------------------------

                 Key: AMQ-3643
                 URL: https://issues.apache.org/jira/browse/AMQ-3643
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.5.1
         Environment: vmQueueCursor
            Reporter: Torsten Mielke
            Priority: Critical
         Attachments: VMQueueCursorBug.tgz

The vmQueueCursor isn't bound to configured memoryUsage limit and hence can grow indefinitely and cause OutOfMemoryErrors.



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AMQ-3643) vmQueueCursor does not honour system wide memoryUsage limit

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13458664#comment-13458664 ] 

Claus Ibsen commented on AMQ-3643:
----------------------------------

I guess this has always been the case with the vm transport? 

What should it do if it his a memory usage limit?
                
> vmQueueCursor does not honour system wide memoryUsage limit
> -----------------------------------------------------------
>
>                 Key: AMQ-3643
>                 URL: https://issues.apache.org/jira/browse/AMQ-3643
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.1
>         Environment: vmQueueCursor
>            Reporter: Torsten Mielke
>            Priority: Critical
>              Labels: vmQueueCursor
>             Fix For: NEEDS_REVIEWED
>
>         Attachments: VMQueueCursorBug.tgz
>
>
> The vmQueueCursor isn't bound to configured memoryUsage limit and hence can grow indefinitely and cause OutOfMemoryErrors.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (AMQ-3643) vmQueueCursor does not honour system wide memoryUsage limit

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQ-3643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated AMQ-3643:
-----------------------------

    Fix Version/s: NEEDS_REVIEWED
    
> vmQueueCursor does not honour system wide memoryUsage limit
> -----------------------------------------------------------
>
>                 Key: AMQ-3643
>                 URL: https://issues.apache.org/jira/browse/AMQ-3643
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.1
>         Environment: vmQueueCursor
>            Reporter: Torsten Mielke
>            Priority: Critical
>              Labels: vmQueueCursor
>             Fix For: NEEDS_REVIEWED
>
>         Attachments: VMQueueCursorBug.tgz
>
>
> The vmQueueCursor isn't bound to configured memoryUsage limit and hence can grow indefinitely and cause OutOfMemoryErrors.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (AMQ-3643) vmQueueCursor does not honour system wide memoryUsage limit

Posted by "Torsten Mielke (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQ-3643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Torsten Mielke updated AMQ-3643:
--------------------------------

    Attachment: VMQueueCursorBug.tgz

Attaching JUnit test that reproduces the bug.
                
> vmQueueCursor does not honour system wide memoryUsage limit
> -----------------------------------------------------------
>
>                 Key: AMQ-3643
>                 URL: https://issues.apache.org/jira/browse/AMQ-3643
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.1
>         Environment: vmQueueCursor
>            Reporter: Torsten Mielke
>            Priority: Critical
>              Labels: vmQueueCursor
>         Attachments: VMQueueCursorBug.tgz
>
>
> The vmQueueCursor isn't bound to configured memoryUsage limit and hence can grow indefinitely and cause OutOfMemoryErrors.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (AMQ-3643) vmQueueCursor does not honour system wide memoryUsage limit

Posted by "Bruce Snyder (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13458717#comment-13458717 ] 

Bruce Snyder commented on AMQ-3643:
-----------------------------------

Correct, the VM transport has never bothered to check for available memory before adding messages. To fix this bug, the {{VMPendingMessageCursor}} needs to be refactored to utilize the methods for this in the {{AbstractPendingMessageCursor}} so that it obeys the {{memoryUsageHighWaterMark}} property. 
                
> vmQueueCursor does not honour system wide memoryUsage limit
> -----------------------------------------------------------
>
>                 Key: AMQ-3643
>                 URL: https://issues.apache.org/jira/browse/AMQ-3643
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.5.1
>         Environment: vmQueueCursor
>            Reporter: Torsten Mielke
>            Priority: Critical
>              Labels: vmQueueCursor
>             Fix For: NEEDS_REVIEWED
>
>         Attachments: VMQueueCursorBug.tgz
>
>
> The vmQueueCursor isn't bound to configured memoryUsage limit and hence can grow indefinitely and cause OutOfMemoryErrors.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira