[
https://issues.apache.org/jira/browse/QPID-1227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12621154#action_12621154
]
Rafael H. Schloming commented on QPID-1227:
-------------------------------------------
I think the test.mem in the default testprofile only applies when the tests are
run in forked mode. (Note that forked mode may not work as we never use it.)
The way to increase memory for running tests would be to do an 'export
ANT_OPTS=-Xmx1024M' prior to running ant.
> 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.