Page 1 of 1

xta: error: heap memory running low, aborting

Posted: Mon Jul 17, 2017 5:43 pm
by Bambus
Hi all,

I am trying to optimize runtime for some functions I have written but all I get when using xta analyze function is an error: xta: error: heap memory running low, aborting

I am running the tool from console. Is there any way to convince xta that there is enough memory on my computer?

Thanks!

Re: xta: error: heap memory running low, aborting

Posted: Tue Jul 18, 2017 8:34 am
by robertxmos
Hi Bambus

You will need to increase the Java Virtual Machines runtime maximum heap size (prevents the JVM gobbling up all memory if it goes awol).
I can't remember the details of setting up the eclipse JVM environment but here are a couple of links that may have enough info for you:
https://stackoverflow.com/questions/143 ... or-eclipse
https://stackoverflow.com/questions/156 ... ze-in-java

robert

Re: xta: error: heap memory running low, aborting

Posted: Wed Jul 03, 2019 11:29 am
by moh_algoblan
robertxmos wrote: Tue Jul 18, 2017 8:34 am Hi Bambus

You will need to increase the Java Virtual Machines runtime maximum heap size (prevents the JVM gobbling up all memory if it goes awol).
I can't remember the details of setting up the eclipse JVM environment but here are a couple of links that may have enough info for you:
https://stackoverflow.com/questions/143 ... or-eclipse
https://stackoverflow.com/questions/156 ... ze-in-java

robert
I have the same problem, I tried to increase the maximum heap size from the control panel (through java configuration), but that didn't really work with me. any other ways to increase the heap size other than the control panel method?

Re: xta: error: heap memory running low, aborting

Posted: Sun Aug 11, 2019 10:36 am
by MuellerNick
Same problem here!
It seems, that it can't be fixed on Windows. I'm running Win7 (Pro, 64 bits).
xTIMEcomposer requires a 32 bit Java (as XMOS states on the download page). And 32 bit Java can only handle 4 GB. If you go beyond that, Java will crash. And a 64 bit Java doesn't work. Been there, done that.

I really don't understand why XMOS can't get their tools to work properly.

Nick

Re: xta: error: heap memory running low, aborting

Posted: Tue Oct 22, 2019 8:19 pm
by moh_algoblan
MuellerNick wrote: Sun Aug 11, 2019 10:36 am Same problem here!
It seems, that it can't be fixed on Windows. I'm running Win7 (Pro, 64 bits).
xTIMEcomposer requires a 32 bit Java (as XMOS states on the download page). And 32 bit Java can only handle 4 GB. If you go beyond that, Java will crash. And a 64 bit Java doesn't work. Been there, done that.

I really don't understand why XMOS can't get their tools to work properly.

Nick
if there is any one from Xmos who can help with this problem that would be really helpful.