Playframework Can';t从Makefile编译播放项目

Playframework Can';t从Makefile编译播放项目,playframework,makefile,Playframework,Makefile,我正在尝试使用GNUMake(3.81)编译我的Play框架项目 以下是我的简单Makefile: all: play compile 运行“make”后,我出现以下错误: [error] java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: unable to create new native thread [error] Use 'last' for the full log. make:

我正在尝试使用GNUMake(3.81)编译我的Play框架项目

以下是我的简单Makefile:

all:
        play compile
运行“make”后,我出现以下错误:

[error] java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: unable to create new native thread
[error] Use 'last' for the full log.
make: *** [all] Error 1
详细错误消息:

$ play last:

[info] Loading project definition from /home/sergey/wrk/my/site/project
[info] Set current project to site (in build     file:/home/sergey/wrk/my/site/)
[info] Loading project definition from /home/sergey/wrk/my/site/project
[debug] Running task... Cancelable: false, check cycles: false
[debug] 
[debug] Initial source changes: 
[debug]     removed:Set()
[debug]     added: Set()
[debug]     modified: Set()
[debug] Removed products: Set()
[debug] Modified external sources: Set()
[debug] Modified binary dependencies: Set()
[debug] Initial directly invalidated sources: Set()
[debug] 
[debug] Sources indirectly invalidated by:
[debug]     product: Set()
[debug]     binary dep: Set()
[debug]     external source: Set()
[debug] Initially invalidated: Set()
[debug] Copy resource mappings: 
[debug]     
[info] Set current project to site (in build file:/home/sergey/wrk/my/site/)
但当我在壳上做同样的事情时:

$ play compile
。。。一切正常

我试图通过“-xmx1024M”来比赛,但没有帮助

系统信息:

  • 安装了所有更新的Ubuntu 12.04 LTS
  • Oracle JDK 1.6.0_45

为什么我的Makefile不能像预期的那样工作?

您是否对完整日志使用了“last”?很好。我在原始消息中添加了“播放最后一个”输出。