tu6ge / voyager-excel

voyager excel export --一个Voyager的Excel导出插件
MIT License
21 stars 11 forks source link

mmap() failed: [12] Cannot allocate memory #3

Closed loooping-old closed 4 years ago

loooping-old commented 4 years ago

Another error when try php artisan hook:install voyager-excel

The same happen with o without sudo

$ sudo php artisan hook:install voyager-excel
[sudo] password for loooping:

mmap() failed: [12] Cannot allocate memory

mmap() failed: [12] Cannot allocate memory
PHP Fatal error:  Out of memory (allocated 762322944) (tried to allocate 16777224 bytes) in /var/www/sistema/sistema/app/vendor/composer/composer/src/Composer/DependencyResolver/RuleSet.php on line 83
Killed
tu6ge commented 4 years ago

can you run php artisan hook:install voyager-excel -vvv ? and tell me return info

loooping-old commented 4 years ago

Simple return 'Killed'

tu6ge commented 4 years ago

The error was caused by larapack/hooks

loooping-old commented 4 years ago

but the voyager use larapack/voyager-hooks what's the problem exactly?

tu6ge commented 4 years ago

larapack/voyager-hooks require larapack/hooks

loooping-old commented 4 years ago

Right, but, how to solve this?

loooping-old commented 4 years ago

Other hooks works fine

tu6ge commented 4 years ago

post issue to larapack/hooks

loooping-old commented 4 years ago

thanks