You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hama.apache.org by "Edward J. Yoon (JIRA)" <ji...@apache.org> on 2012/05/23 04:26:41 UTC

[jira] [Commented] (HAMA-581) How can i increase the heap size in local mode?

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

Edward J. Yoon commented on HAMA-581:
-------------------------------------

Do you use 0.4 version? If so, please try to change hard-coded Java max heap size value in 'bin/hama' script.

{code}
JAVA_HEAP_MAX=-Xmx1000m 
{code}
                
> How can i increase the heap size in local mode?
> -----------------------------------------------
>
>                 Key: HAMA-581
>                 URL: https://issues.apache.org/jira/browse/HAMA-581
>             Project: Hama
>          Issue Type: Question
>          Components: examples
>    Affects Versions: 0.4.0
>         Environment: linux
>            Reporter: nightwind
>             Fix For: 0.4.0
>
>
> Hello,i test program in local mode. My program must use a lot of memory, less than 8G.My machine has 16G physical memory.I found hama only can use 1G memory.So Hama report OutOfMemory Error.How can i config to increase the heap size in local mode? I add -Xmx8096m in command, but it does't work.How config it?Thank you.

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