简体   繁体   English

Linux服务器上的Activator UI内存不足问题

[英]Out Of Memory Issue with Activator UI On Linux Server

I'm trying to run the activator ui on a Linux server running CentOS 5.7. 我正在尝试在运行CentOS 5.7的Linux服务器上运行激活器ui。 I have Java and activator installed, but whenever I run "activator ui" I get the following errors: 我安装了Java和激活器,但是每当我运行“激活器ui”时,都会出现以下错误:

[ERROR] [09/15/2014 15:42:22.431] [default-akka.actor.default-dispatcher-2] [ActorSystem(default)] Uncaught error from thread [default-akka.actor.default-dispatcher-2] shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled
java.lang.OutOfMemoryError: unable to create new native thread
    at java.lang.Thread.start0(Native Method)
    at java.lang.Thread.start(Thread.java:714)
    at scala.concurrent.forkjoin.ForkJoinPool.tryAddWorker(ForkJoinPool.java:1672)
    at scala.concurrent.forkjoin.ForkJoinPool.deregisterWorker(ForkJoinPool.java:1795)
    at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:117)

    at scala.concurrent.forkjoin.ForkJoinPool.tryAddWorker(ForkJoinPool.java:1672)
    at scala.concurrent.forkjoin.ForkJoinPool.deregisterWorker(ForkJoinPool.java:1795)
    at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:117)
[ERROR] [09/15/2014 15:42:22.443] [default-akka.actor.default-dispatcher-3] [ActorSystem(default)] Uncaught error from thread [default-akka.actor.default-dispatcher-3] shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled
java.lang.OutOfMemoryError: unable to create new native thread
    at java.lang.Thread.start0(Native Method)
    at java.lang.Thread.start(Thread.java:714)
    at scala.concurrent.forkjoin.ForkJoinPool.tryAddWorker(ForkJoinPool.java:1672)
    at scala.concurrent.forkjoin.ForkJoinPool.signalWork(ForkJoinPool.java:1966)
    at scala.concurrent.forkjoin.ForkJoinPool.externalPush(ForkJoinPool.java:1829)
    at scala.concurrent.forkjoin.ForkJoinPool.execute(ForkJoinPool.java:2955)

Is this just an issue that the server doesn't have enough memory, because when I run "cat /proc/meminfo" it appears there should be enough. 这仅仅是服务器没有足够内存的问题,因为当我运行“ cat / proc / meminfo”时,它应该足够了。

Does the server have swap? 服务器有交换吗? If not then adding it might save you. 如果没有,那么添加它可能会节省您的时间。 Activator spawns several JVMs and they are all large because JVMs are just large. Activator产生了几个JVM,它们都很大,因为JVM很大。 You need some headroom. 您需要一些空间。 Dialing down the -Xmx on the individual JVMs might help but it can only go so low before the app won't run. 在各个JVM上拨入-Xmx可能会有所帮助,但在应用程序无法运行之前只能变低。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM