- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
stability of CompileServer
Wed, 2012-02-15, 11:42
My use case is using scala for scripting scientific analysis tasks in
replacement of python.
I often find myself doing ctrl+D during compilation/running the scala
script.
Upon subsequent call of the script 'sh analyze.scala' the compiler is
stuck.
Then I have to go through the processes and kill them and restart the
script.
ps ax | awk '/scala/ { system("kill -9 " $1) }'
Is there anything that I can do beside being less erratic in
interrupting the compiler?
Is there anything the scala team can do to make the compiler more
resilient to interruptions and that I can file as a ticket?
thank you very much,
ido
script header:
#!/bin/sh
export JAVA_OPTS="-Xmx3g -Xms3g"
cp='/projects/solexadst/bin/lib/jars/scalaz-core_2.9.1-6.0.3.jar'
exec scala -classpath $cp "$0" "$@"
!#