Cloud9 IDE kills activator on compilation

I was trying to launch my game! project on Cloud9 IDE. However, he keeps on killing activator

before he canstart

tabdulradi@my-project:~/workspace (master) $ ./activator
[info] Loading project definition from /home/ubuntu/workspace/project
[info] Set current project to my-project (in build file:/home/ubuntu/workspace/)
[my-project] $ start -Dhttp.port=8080
[info] Compiling 9 Scala sources and 1 Java source to /home/ubuntu/workspace/target/scala-2.10/classes...
[info] Main Scala API documentation to /home/ubuntu/workspace/target/scala-2.10/api...
[info] CoffeeScript compiling on 5 source(s)
[info] LESS compiling on 1 source(s)
[info] Wrote /home/ubuntu/workspace/target/scala-2.10/my-project_2.10-1.0-SNAPSHOT.pom
Killed

      

I tried to run only compile

, hoping I could break this execution into smaller pieces so the C9-IDE won't kill it. However, he was also killed

tabdulradi@my-project:~/workspace (master) $ ./activator compile
[info] Loading project definition from /home/ubuntu/workspace/project
[info] Set current project to my-project (in build file:/home/ubuntu/workspace/)
[info] Compiling 9 Scala sources and 1 Java source to /home/ubuntu/workspace/target/scala-2.10/classes...
Killed

      

However, launching run

successfully shuts down the server, but then kills when the first request arrives at the server (ie: starts compiling)

tabdulradi@my-project:~/workspace (master) $ ./activator
[info] Loading project definition from /home/ubuntu/workspace/project
[info] Set current project to my-project (in build file:/home/ubuntu/workspace/)
[my-project] $ run -Dhttp.port=8080

--- (Running the application from SBT, auto-reloading is enabled) ---

[info] play - Listening for HTTP on /0:0:0:0:0:0:0:0:8080

(Server started, use Ctrl+D to stop and go back to the console...)

[info] Compiling 9 Scala sources and 1 Java source to /home/ubuntu/workspace/target/scala-2.10/classes...
[info] LESS compiling on 1 source(s)
[info] CoffeeScript compiling on 5 source(s)
Killed

      

Can CloudA IDE be configured to port with an activator? Or at least configure activator / sbt to limit CPU consumption so Cloud9IDE doesn't kill it?

+3


source to share


1 answer


Most likely, your box has disappeared from memory. You can check if your process was killed for this reason with "dmesg". Free accounts currently get 512MB, while premium users get 1024MB.



+4


source







All Articles