2017-02-09 44 views
-1

我正在运行以下命令。DB-Translations在Symfony2中解压缩失败,突然说'杀死'

php app/console translation:extract ${culture} --output-format=xlf --bundle=BundleName --enable-extractor=db_translations 

而且我看到以下错误。

Extracting translation keys 
Extracting messages from directory : /var/www/symfony/src 
Extracting messages with custom extractor : db_translations 
Killed 
+0

看起来你内存不足。是否有任何其他日志报表可用?这个包非常大吗? – Jan

回答

0

我不得不从Vagrant文​​件增加内存大小,并重新启动我的VM框。

# Modify virtualbox config. 
config.vm.provider "virtualbox" do |vb| 
    vb.customize ["modifyvm", :id, "--cpus", "2", "--cpuexecutioncap", "100", "--memory", "10240"] 
    vb.name = "Max on Ubuntu 14.04" 

它可以很好地提取翻译。