[ 
https://issues.apache.org/jira/browse/QPID-1227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12621273#action_12621273
 ] 

Nicholas Dronen commented on QPID-1227:
---------------------------------------

This happens with the trunk I checked out yesterday.

Setting ANT_OPTS gets around the OOM errors.   Thanks.   I'll close this issue.

I was curious why this didn't happen with 1.5, so I ran the test target with 
different values of -Xmx.  Here are the results.  1.6 clearly requires more 
memory.  And 1.7 is clearly not ready for production.  Incidentally, I know the 
1.5 JDK is old.  It's just what I happen to have installed on the machine.  I'm 
switching to 1.6, so I haven't upgraded it.

jdk1.5.0_03
   -Xmx    OOM?
    128 -> no
    144 -> no
    160 -> no
    176 -> no
    192 -> no
    208 -> no
    224 -> no
    240 -> no

jdk1.6.0_10
   -Xmx    OOM?
    128 -> yes
    144 -> yes
    160 -> no
    176 -> no
    192 -> no
    208 -> no
    224 -> no
    240 -> no

jdk1.7.0
   -Xmx    OOM?
    128 -> yes
    144 -> no
    160 -> yes
    176 -> no
    192 -> no
    208 -> no
    224 -> yes
    240 -> no


> OutOfMemoryError running tests with 1.6 or 1.7 JDK
> --------------------------------------------------
>
>                 Key: QPID-1227
>                 URL: https://issues.apache.org/jira/browse/QPID-1227
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>         Environment: Debian Lenny and Mac OS X 10.5.3
>            Reporter: Nicholas Dronen
>            Priority: Minor
>         Attachments: oom.txt
>
>
> Just an FYI that the test target fails using a 1.6 or 1.7 JDK, even if I bump 
> up test.mem in default.testprofile to 1024M or remove the maxmemory attribute 
> from the junit task in module.xml.  This doesn't happen with a 1.5 JDK.  
> Perhaps the core Java libraries changed in some unhelpful way between 1.5 and 
> 1.6?  Could be my environment, too, but I'm skeptical of that since it 
> happens on both my Linux box and my iBook.

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

Reply via email to