hexya-erp / hexya

Hexya business application development framework
http://hexya.io
Apache License 2.0
411 stars 125 forks source link

Generate error, pool killed #29

Closed labneco closed 5 years ago

labneco commented 6 years ago

I try install the hexya on ubuntu vps. The hexya command "hexya generate" returns a error:

Generating pool...Killed

Someone know why this error show up and the hexya don't complete the generating process?

npiganeau commented 6 years ago

Can you send the complete output of hexya generate as well as your config file ?

labneco commented 6 years ago

This is output

root@labneco:~/go/src/github.com/hexya-erp/hexya-demo# ../hexya/main generate` Hexya Generate

Detected Hexya root directory at /root/go/src/github.com/hexya-erp/hexya. Modules paths:

labneco commented 6 years ago

Work, and another error I don't know what I did, but pass from the generating pool and stop on next step: Checking the generated code...Killed

npiganeau commented 6 years ago

What are the specs of your VPS ? Hexya needs an awful lot of memory to generate and compile (>8GB). Can you check if you are not running out of memory ?

labneco commented 6 years ago

I don't change anything in config file. Just create in project dir a hexya.toml file with the content than I get on Doc.

labneco commented 6 years ago

maybe the problem is the memory, on my laptop a have just 4gb. That's the problem?