Hi Carter,

Do a export JAVA_OPTS="-Xmx2g" before hitting sbt/sbt run. That will solve
your problem.

Thanks
Best Regards


On Tue, May 6, 2014 at 8:02 AM, Carter <gyz...@hotmail.com> wrote:

> hi I still have over 1g left for my program.
>
> ------------------------------
> Date: Sun, 4 May 2014 19:14:30 -0700
> From: [hidden email] <http://user/SendEmail.jtp?type=node&node=5412&i=0>
> To: [hidden email] <http://user/SendEmail.jtp?type=node&node=5412&i=1>
> Subject: Re: "sbt/sbt run" command returns a JVM problem
>
>
> the total memory of your machine is 2G right?
> then how much memory is left free? wouldn`t ubuntu take up quite a big
> portion of 2G?
>
> just a guess!
>
>
> On Sat, May 3, 2014 at 8:15 PM, Carter <[hidden 
> email]<https:///user/SendEmail.jtp?type=node&node=5340&i=0>
> > wrote:
> Hi, thanks for all your help.
> I tried your setting in the sbt file, but the problem is still there.
>
> The Java setting in my sbt file is:
> java \
>   -Xmx1200m -XX:MaxPermSize=350m -XX:ReservedCodeCacheSize=256m \
>   -jar ${JAR} \
>   "$@"
>
> I have tried to set these 3 parameters bigger and smaller, but nothing
> works. Did I change the right thing?
>
> Thank you very much.
>
>
>
> --
> View this message in context:
> http://apache-spark-user-list.1001560.n3.nabble.com/sbt-sbt-run-command-returns-a-JVM-problem-tp5157p5267.html
> Sent from the Apache Spark User List mailing list archive at Nabble.com.
>
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-spark-user-list.1001560.n3.nabble.com/sbt-sbt-run-command-returns-a-JVM-problem-tp5157p5340.html
>  To unsubscribe from "sbt/sbt run" command returns a JVM problem, click
> here<http://apache-spark-user-list.1001560.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5157&code=Z3l6aGVuQGhvdG1haWwuY29tfDUxNTd8MTUyNjczMTY3Ng==>
> .
> <a href="http&#58;//
> apache-spark-user-list.1001560.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&amp;id=instant_html%21nabble&#58;email.naml&amp;base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs=notify_subscribers%21nabble&#58;email.naml-instant_emails%21nabble&#58;email.naml-send_instant_email%21nabble&#58;email.naml<http://apache-spark-user-list.1001560.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble:email.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble&%2358;email.naml-instant_emails%21nabble&%2358;email.naml-send_instant_email%21nabble&%2358;email.naml>"
> rel=nofollow style="font&#58;9px serif;" target=_blank>NAML
>
> ------------------------------
> View this message in context: RE: "sbt/sbt run" command returns a JVM
> problem<http://apache-spark-user-list.1001560.n3.nabble.com/sbt-sbt-run-command-returns-a-JVM-problem-tp5157p5412.html>
>
> Sent from the Apache Spark User List mailing list 
> archive<http://apache-spark-user-list.1001560.n3.nabble.com/>at Nabble.com.
>

Reply via email to