8000 Problem with Scala 2.12.1 on Mac OS X · Issue #98 · ninjudd/drip · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Problem with Scala 2.12.1 on Mac OS X #98
Open
@lbialy

Description

@lbialy

Hey guys, I was trying to use drip with Scala and fish shell on Mac OS X and it caused me some pain today. It seems it keeps creating new processes and never kills those it used before. If I ps aux | grep -c drip now it counts 1080 hits (590 for drip_daemon so this is probably the true process count). I am using Scala both as REPL and in Intellij Idea (latest). I've added those lines to my fish.init files as docs suggested:

set -gx JAVA_HOME (/usr/libexec/java_home)
set -gx PATH $JAVA_HOME/bin $PATH
set -gx JAVACMD drip

and everything was nice and speedy, but I started to run out of processes. I upped my ulimit and launchctl's maxproc's limits, but I kept getting fork errors and started looking at my ps aux output. Here's the command that keeps repeating 590 times now:

lukaszbialy       1005   0.0  0.0  2450176    184   ??  S    12:38PM   0:00.00 /usr/local/bin/../Cellar/drip/0.2.4/bin/../libexec/bin/drip_daemon /Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home/bin/java -Xmx256M -Xms32M -Xbootclasspath/a:/usr/local/Cellar/scala/2.12.1/libexec/lib/jline-2.14.1.jar:/usr/local/Cellar/scala/2.12.1/libexec/lib/scala-compiler.jar:/usr/local/Cellar/scala/2.12.1/libexec/lib/scala-library.jar:/usr/local/Cellar/scala/2.12.1/libexec/lib/scala-parser-combinators_2.12-1.0.4.jar:/usr/local/Cellar/scala/2.12.1/libexec/lib/scala-reflect.jar:/usr/local/Cellar/scala/2.12.1/libexec/lib/scala-swing_2.12-2.0.0-M2.jar:/usr/local/Cellar/scala/2.12.1/libexec/lib/scala-xml_2.12-1.0.6.jar:/usr/local/Cellar/scala/2.12.1/libexec/lib/scalap-2.12.1.jar -Dscala.home=/usr/local/Cellar/scala/2.12.1/libexec -Dscala.usejavacp=true -Denv.emacs= -Djava.awt.headless=true -classpath /usr/local/bin/../Cellar/drip/0.2.4/bin/../libexec/bin/../drip.jar:"" org.flatland.drip.Main scala.tools.nsc.MainGenericRunner /Users/lukaszbialy/.drip/0.2.4/<INSERT RANDOM HASH HERE>

Any ideas, am I doing something ridiculously wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0