You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andrew Kennedy (JIRA)" <qp...@incubator.apache.org> on 2010/06/01 18:39:36 UTC

[jira] Created: (QPID-2635) Ant tests fail with OutOfMemoryError due to PermGen space exhaustion

Ant tests fail with OutOfMemoryError due to PermGen space exhaustion
--------------------------------------------------------------------

                 Key: QPID-2635
                 URL: https://issues.apache.org/jira/browse/QPID-2635
             Project: Qpid
          Issue Type: Bug
          Components: Java Tests
    Affects Versions: 0.7
            Reporter: Andrew Kennedy
             Fix For: 0.7


Ant tests fail with OutOfMemoryError due to PermGen space exhaustion. This appears to happen only with the last test, and only intermittently.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Updated: (QPID-2635) Ant tests fail with OutOfMemoryError due to PermGen space exhaustion

Posted by "Andrew Kennedy (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Kennedy updated QPID-2635:
---------------------------------

    Attachment: 0001-QPID-2635-Add-fork-once-to-junit-ant-task.patch

Removed the permgen JVM args, since simply setting junit fork mode to 'once' fixes the issue.

> Ant tests fail with OutOfMemoryError due to PermGen space exhaustion
> --------------------------------------------------------------------
>
>                 Key: QPID-2635
>                 URL: https://issues.apache.org/jira/browse/QPID-2635
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.7
>            Reporter: Andrew Kennedy
>            Assignee: Robbie Gemmell
>             Fix For: 0.7
>
>         Attachments: 0001-QPID-2635-Add-fork-once-to-junit-ant-task.patch
>
>
> Ant tests fail with OutOfMemoryError due to PermGen space exhaustion. This appears to happen only with the last test, and only intermittently.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Updated: (QPID-2635) Ant tests fail with OutOfMemoryError due to PermGen space exhaustion

Posted by "Andrew Kennedy (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Kennedy updated QPID-2635:
---------------------------------

    Attachment: 0001-permgen.patch

Change permgen to 256Mb for tests. Works for me, but can't test under all situations...

> Ant tests fail with OutOfMemoryError due to PermGen space exhaustion
> --------------------------------------------------------------------
>
>                 Key: QPID-2635
>                 URL: https://issues.apache.org/jira/browse/QPID-2635
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.7
>            Reporter: Andrew Kennedy
>             Fix For: 0.7
>
>         Attachments: 0001-permgen.patch
>
>
> Ant tests fail with OutOfMemoryError due to PermGen space exhaustion. This appears to happen only with the last test, and only intermittently.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Updated: (QPID-2635) Ant tests fail with OutOfMemoryError due to PermGen space exhaustion

Posted by "Andrew Kennedy (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Kennedy updated QPID-2635:
---------------------------------

    Attachment: 0011-QPID-2635-Add-fork-once-to-junit-ant-task.patch

This *should* work, but it doesn't and I think setting ANT_OPTS is the only way of getting rid of this issue just now...

> Ant tests fail with OutOfMemoryError due to PermGen space exhaustion
> --------------------------------------------------------------------
>
>                 Key: QPID-2635
>                 URL: https://issues.apache.org/jira/browse/QPID-2635
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.7
>            Reporter: Andrew Kennedy
>             Fix For: 0.7
>
>         Attachments: 0001-permgen.patch, 0011-QPID-2635-Add-fork-once-to-junit-ant-task.patch
>
>
> Ant tests fail with OutOfMemoryError due to PermGen space exhaustion. This appears to happen only with the last test, and only intermittently.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Updated: (QPID-2635) Ant tests fail with OutOfMemoryError due to PermGen space exhaustion

Posted by "Andrew Kennedy (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Kennedy updated QPID-2635:
---------------------------------

    Attachment:     (was: 0001-permgen.patch)

> Ant tests fail with OutOfMemoryError due to PermGen space exhaustion
> --------------------------------------------------------------------
>
>                 Key: QPID-2635
>                 URL: https://issues.apache.org/jira/browse/QPID-2635
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.7
>            Reporter: Andrew Kennedy
>             Fix For: 0.7
>
>         Attachments: 0011-QPID-2635-Add-fork-once-to-junit-ant-task.patch
>
>
> Ant tests fail with OutOfMemoryError due to PermGen space exhaustion. This appears to happen only with the last test, and only intermittently.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Assigned: (QPID-2635) Ant tests fail with OutOfMemoryError due to PermGen space exhaustion

Posted by "Marnie McCormack (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marnie McCormack reassigned QPID-2635:
--------------------------------------

    Assignee: Robbie Gemmell

> Ant tests fail with OutOfMemoryError due to PermGen space exhaustion
> --------------------------------------------------------------------
>
>                 Key: QPID-2635
>                 URL: https://issues.apache.org/jira/browse/QPID-2635
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.7
>            Reporter: Andrew Kennedy
>            Assignee: Robbie Gemmell
>             Fix For: 0.7
>
>         Attachments: 0011-QPID-2635-Add-fork-once-to-junit-ant-task.patch
>
>
> Ant tests fail with OutOfMemoryError due to PermGen space exhaustion. This appears to happen only with the last test, and only intermittently.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Updated: (QPID-2635) Ant tests fail with OutOfMemoryError due to PermGen space exhaustion

Posted by "Andrew Kennedy (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Kennedy updated QPID-2635:
---------------------------------

    Attachment: 0009-QPID-2635-Add-fork-once-to-junit-ant-task.patch

> Ant tests fail with OutOfMemoryError due to PermGen space exhaustion
> --------------------------------------------------------------------
>
>                 Key: QPID-2635
>                 URL: https://issues.apache.org/jira/browse/QPID-2635
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.7
>            Reporter: Andrew Kennedy
>            Assignee: Robbie Gemmell
>             Fix For: 0.7
>
>         Attachments: 0009-QPID-2635-Add-fork-once-to-junit-ant-task.patch
>
>
> Ant tests fail with OutOfMemoryError due to PermGen space exhaustion. This appears to happen only with the last test, and only intermittently.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Resolved: (QPID-2635) Ant tests fail with OutOfMemoryError due to PermGen space exhaustion

Posted by "Robbie Gemmell (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robbie Gemmell resolved QPID-2635.
----------------------------------

    Resolution: Fixed

Patch applied.

> Ant tests fail with OutOfMemoryError due to PermGen space exhaustion
> --------------------------------------------------------------------
>
>                 Key: QPID-2635
>                 URL: https://issues.apache.org/jira/browse/QPID-2635
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.7
>            Reporter: Andrew Kennedy
>            Assignee: Robbie Gemmell
>             Fix For: 0.7
>
>         Attachments: 0001-QPID-2635-Add-fork-once-to-junit-ant-task.patch
>
>
> Ant tests fail with OutOfMemoryError due to PermGen space exhaustion. This appears to happen only with the last test, and only intermittently.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Commented: (QPID-2635) Ant tests fail with OutOfMemoryError due to PermGen space exhaustion

Posted by "Andrew Kennedy (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-2635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12879824#action_12879824 ] 

Andrew Kennedy commented on QPID-2635:
--------------------------------------

The attached patch now correctly forks once per module, setting max perm size to 256Mb

> Ant tests fail with OutOfMemoryError due to PermGen space exhaustion
> --------------------------------------------------------------------
>
>                 Key: QPID-2635
>                 URL: https://issues.apache.org/jira/browse/QPID-2635
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.7
>            Reporter: Andrew Kennedy
>            Assignee: Robbie Gemmell
>             Fix For: 0.7
>
>         Attachments: 0009-QPID-2635-Add-fork-once-to-junit-ant-task.patch
>
>
> Ant tests fail with OutOfMemoryError due to PermGen space exhaustion. This appears to happen only with the last test, and only intermittently.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Updated: (QPID-2635) Ant tests fail with OutOfMemoryError due to PermGen space exhaustion

Posted by "Andrew Kennedy (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Kennedy updated QPID-2635:
---------------------------------

    Attachment:     (was: 0011-QPID-2635-Add-fork-once-to-junit-ant-task.patch)

> Ant tests fail with OutOfMemoryError due to PermGen space exhaustion
> --------------------------------------------------------------------
>
>                 Key: QPID-2635
>                 URL: https://issues.apache.org/jira/browse/QPID-2635
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.7
>            Reporter: Andrew Kennedy
>            Assignee: Robbie Gemmell
>             Fix For: 0.7
>
>         Attachments: 0009-QPID-2635-Add-fork-once-to-junit-ant-task.patch
>
>
> Ant tests fail with OutOfMemoryError due to PermGen space exhaustion. This appears to happen only with the last test, and only intermittently.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Updated: (QPID-2635) Ant tests fail with OutOfMemoryError due to PermGen space exhaustion

Posted by "Andrew Kennedy (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-2635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Kennedy updated QPID-2635:
---------------------------------

    Attachment:     (was: 0009-QPID-2635-Add-fork-once-to-junit-ant-task.patch)

> Ant tests fail with OutOfMemoryError due to PermGen space exhaustion
> --------------------------------------------------------------------
>
>                 Key: QPID-2635
>                 URL: https://issues.apache.org/jira/browse/QPID-2635
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: 0.7
>            Reporter: Andrew Kennedy
>            Assignee: Robbie Gemmell
>             Fix For: 0.7
>
>
> Ant tests fail with OutOfMemoryError due to PermGen space exhaustion. This appears to happen only with the last test, and only intermittently.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org