Hi Daniel,

X10DT's builder needs a lot of memory, so it would be good to set the heap
space to something like 1G. You don't need to increase the MaxPermSize
beyond 256M. When Eclipse runs out of memory, this sometimes results in
corrupted metadata and strange behavior (this is not specific to X10DT). So
I would recommend making a new workspace from scratch. There is an
indicator you can turn on to monitor your memory usage. Go to Preferences
-> General -> Select "Show heap status". When you see that memory usage is
reaching the limit, it's good to restart Eclipse so that you don't end up
with a corrupted workspace.

Hope this helps,

Mandana

Mandana Vaziri
IBM T. J. Watson Research Center
http://www.research.ibm.com/people/m/mvaziri/




Daniel Alexander Perlmutter <dap2...@columbia.edu> wrote on 04/12/2013
02:52:06 PM:

> From: Daniel Alexander Perlmutter <dap2...@columbia.edu>
> To: x10-users@lists.sourceforge.net
> Date: 04/12/2013 02:52 PM
> Subject: [X10-users] X10DT build overflows java heap memory
>
> I'm not sure if this is the best place to post this but I'm not sure
> exactly what list to use.
>
> I was wondering if anyone has ever encountered a problem where
> building x10 code in eclipse using x10dt causes the JVM to run out
> of heap memory.  I am currently encountering such a problem with a
> moderately sized(2000ish lines of code) x10 program.  I tried increasing
> -Xmx
> -XX:MaxPermSize
> in the .ini file but this did not help either.  If anyone has seen
> this problem before could you suggest how it might be dealt with.
>
> Thank you.
>
------------------------------------------------------------------------------

> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for
building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> X10-users mailing list
> X10-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/x10-users
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to