hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HAMA-729) OOM in TestMessages
Date Tue, 05 Feb 2013 07:16:15 GMT

    [ https://issues.apache.org/jira/browse/HAMA-729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13571107#comment-13571107
] 

Hudson commented on HAMA-729:
-----------------------------

Integrated in Hama trunk #95 (See [https://builds.apache.org/job/Hama%20trunk/95/])
    HAMA-729: Fix OOM in unit test. (Revision 1442476)

     Result = SUCCESS
edwardyoon : 
Files : 
* /hama/trunk/core/src/test/java/org/apache/hama/bsp/TestMessages.java

                
> OOM in TestMessages
> -------------------
>
>                 Key: HAMA-729
>                 URL: https://issues.apache.org/jira/browse/HAMA-729
>             Project: Hama
>          Issue Type: Bug
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>            Priority: Trivial
>             Fix For: 0.6.1
>
>
> int dataSize = (int) (Runtime.getRuntime().maxMemory() * 0.20);
> This always throws OOM exception on my high-end machine.
> {code}
>   <testcase time="0.001" classname="org.apache.hama.bsp.TestMessages" name="testByteMessage">
>     <error message="Requested array size exceeds VM limit" type="java.lang.OutOfMemoryError">java.lang.OutOfMemoryError:
Requested array size exceeds VM limit
>         at org.apache.hama.bsp.TestMessages.testByteMessage(TestMessages.java:29)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:601)
>         at junit.framework.TestCase.runTest(TestCase.java:168)
>         at junit.framework.TestCase.runBare(TestCase.java:134)
>         at junit.framework.TestResult$1.protect(TestResult.java:110)
>         at junit.framework.TestResult.runProtected(TestResult.java:128)
>         at junit.framework.TestResult.run(TestResult.java:113)
>         at junit.framework.TestCase.run(TestCase.java:124)
>         at junit.framework.TestSuite.runTest(TestSuite.java:232)
>         at junit.framework.TestSuite.run(TestSuite.java:227)
>         at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
> {code}

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

Mime
View raw message