This page is no longer maintained — Please continue to the home page at www.scala-lang.org

RE: eclipse plugin -Xprint and java disassembly

No replies
Naftoli Gugenheim
Joined: 2008-12-17,
User offline. Last seen 42 years 45 weeks ago.
I don't know, maybe someone can help me. I have 2Gb of RAM but the JVM doesn't let me start eclipse with -Xmx > ~650Mb.

From: Nicholas Tung <ntung@ntung.com>
Sent: Wednesday, June 03, 2009 8:23 PM
To: Naftoli Gugenheim <naftoligug@gmail.com>
Cc: Miles Sabin <miles@milessabin.com>; scala-tools@listes.epfl.ch
Subject: Re: [scala-tools] eclipse plugin -Xprint and java disassembly

On Wed, Jun 3, 2009 at 17:20, Naftoli Gugenheim <naftoligug@gmail.com> wrote:
Sure, double-click on the class file in the output folder from the Navigator view.
In general, it would be nice if eclipse could tell me the scala command line it generates so I could paste it in a command line and modify it, e.g. for the OP's use case, or to get around the fact that I don't seem to have enough memory to run the interpreter inside eclipse, etc.

Yeah, I figured that out :) Thanks.
Try modifying eclipse.ini's -Xmx1024m (or, maybe, -Xmx8192m, depending on how bad your jvm is).

regards,
Nicholas

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland