You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2012/06/29 12:23:42 UTC

[jira] [Created] (OAK-158) Specify fixed memory settings for unit and integration tests

Jukka Zitting created OAK-158:
---------------------------------

             Summary: Specify fixed memory settings for unit and integration tests
                 Key: OAK-158
                 URL: https://issues.apache.org/jira/browse/OAK-158
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: parent
            Reporter: Jukka Zitting
            Assignee: Jukka Zitting
            Priority: Minor


To reduce the chance of different build results on different platforms, it would be good to specify fixed memory limits for our unit and integration tests.

--
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] [Updated] (OAK-158) Specify fixed memory settings for unit and integration tests

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

Julian Reschke updated OAK-158:
-------------------------------

    Attachment: OAK-158.diff

The tests work for me with 128m, see attached diff (my Java default was way higher). I would recommend that we set the limit to 128m for now, so that we find out ASAP once the system starts to consume more.
                
> Specify fixed memory settings for unit and integration tests
> ------------------------------------------------------------
>
>                 Key: OAK-158
>                 URL: https://issues.apache.org/jira/browse/OAK-158
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: parent
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>            Priority: Minor
>         Attachments: OAK-158.diff
>
>
> To reduce the chance of different build results on different platforms, it would be good to specify fixed memory limits for our unit and integration tests.

--
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] [Resolved] (OAK-158) Specify fixed memory settings for unit and integration tests

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

Jukka Zitting resolved OAK-158.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 0.4

I committed the patch with some modifications (add -XX:MaxPermSize=32m, use the settings also for integration tests, allow override with a -Dtest.opts=... option) in revision 1356715.
                
> Specify fixed memory settings for unit and integration tests
> ------------------------------------------------------------
>
>                 Key: OAK-158
>                 URL: https://issues.apache.org/jira/browse/OAK-158
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: parent
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>            Priority: Minor
>             Fix For: 0.4
>
>         Attachments: OAK-158.diff
>
>
> To reduce the chance of different build results on different platforms, it would be good to specify fixed memory limits for our unit and integration tests.

--
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