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

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

nightwind created HAMA-581:
------------------------------

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

        

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

Posted by "Edward J. Yoon (JIRA)" <ji...@apache.org>.
    [ 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

        

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

Posted by "Edward J. Yoon (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HAMA-581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Edward J. Yoon resolved HAMA-581.
---------------------------------

    Resolution: Fixed
      Assignee: Edward J. Yoon

Fixed. I've added HAMA_HEAPSIZE guide to hama-env.sh.
                
> 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
>            Assignee: Edward J. Yoon
>             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

        

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

Posted by "Edward J. Yoon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13281366#comment-13281366 ] 

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

Or, set HAMA_HEAPSIZE to hama-env.sh like this:

{code}
export HAMA_HEAPSIZE=1000
{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

        

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

Posted by "nightwind (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HAMA-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13281378#comment-13281378 ] 

nightwind commented on HAMA-581:
--------------------------------

ok,it works fine,thank you.
                
> 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