logo       

Re: Any way to cut down on memory footprint?: msg#00451

lang.scala

Subject: Re: Any way to cut down on memory footprint?

Eric Willigers <ewilligers@xxxxxxxxx> writes:
> Remember to add the Scala runtime JAR to the classpath when executing
> compiled Scala using "java" instead of "scala":-
>
> java -Xmx500M -cp .;scala-library.jar TestMemoryUsage

Incidentally, the normal tool scripts lets you pass arguments via the
"JAVACMD" environment variable. For example:

JAVACMD="java -Xmx500M" scala TestMemoryUsage


-Lex




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise