typesafe console with Microkernel fails with out of memory error

53 views
Skip to first unread message

Manas Kar

unread,
Jan 17, 2014, 3:48:54 PM1/17/14
to typesafe...@googlegroups.com
Hi, 
When I run typesafe console with microkernel I get out of memory error. 
I have my build.sbt and application.conf as per the following link ( https://groups.google.com/forum/#!topic/typesafe-console/bEcGfR7jrRIAtmos trace error sbt dist

I have increased my java memory for the microkernel to 6 GB. Still the out of memory wont go away.

Does anyone know if there are other places where memory can be tweaked to have the typesafe console run with out memory error.

Thanks
    Manas
AKKA_HOME="$(cd "$(cd "$(dirname "$0")"; pwd -P)"/..; pwd)"

java \
-Xms6048M -Xmx6048M -Xss1M -XX:MaxPermSize=256M -XX:+UseParallelGC \
-javaagent:"$AKKA_HOME/lib/weaver/aspectjweaver.jar" \
-classpath "$AKKA_HOME/config:$AKKA_HOME/lib/*" \
-Dorg.hyperic.sigar.path="$AKKA_HOME/lib/sigar" \
-Dakka.home="$AKKA_HOME" \
akka.kernel.Main \
"$@"
AKKA_HOME="$(cd "$(cd "$(dirname "$0")"; pwd -P)"/..; pwd)"

java \
-Xms6048M -Xmx6048M -Xss1M -XX:MaxPermSize=256M -XX:+UseParallelGC \
-javaagent:"$AKKA_HOME/lib/weaver/aspectjweaver.jar" \
-classpath "$AKKA_HOME/config:$AKKA_HOME/lib/*" \
-Dorg.hyperic.sigar.path="$AKKA_HOME/lib/sigar" \
-Dakka.home="$AKKA_HOME" \
akka.kernel.Main \
"$@"

Manas Kar

unread,
Jan 22, 2014, 11:27:06 AM1/22/14
to typesafe...@googlegroups.com
I think I found the answer to this problem.
I should have looked at the typesafe-console script which takes -Xms and -Xmx as a parameter. Provide enough memory to typesafe-console and atmos collector will be happy.

Henrik Engström

unread,
Jan 22, 2014, 11:28:18 AM1/22/14
to Manas Kar, typesafe...@googlegroups.com
Good to hear.
Thanks for letting us know.
Best of luck,
Henrik 


--
You received this message because you are subscribed to the Google Groups "Typesafe Console User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to typesafe-conso...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages