Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot allocate memory #25

Open
zamentur opened this issue Dec 15, 2017 · 1 comment
Open

Cannot allocate memory #25

zamentur opened this issue Dec 15, 2017 · 1 comment

Comments

@zamentur
Copy link

On a Lime1 Internet Cube (so 512 MB ram)

debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
2017-12-15 18:05:36 URL:https://github-production-release-asset-2e65be.s3.amazonaws.com/42245717?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A/20171215/us-east-1/s3/aws4_request&X-Amz-Date=20171215T170534Z&X-Amz-Expires=300&X-Amz-Signature=7181271bebf3aed4&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment;%20filename=roundcubemail-1.3.3.tar.gz&response-content-type=application/octet-stream [3153569/3153569] -> "app.tar.gz" [1]
The following exception is caused by a lack of memory or swap, or not having swap configured
Check https://getcomposer.org/doc/articles/troubleshooting.md#proc-open-fork-failed-errors for details

PHP Warning:  proc_open(): fork failed - Cannot allocate memory in phar:///var/www/roundcube/composer.phar/vendor/symfony/console/Application.php on line 979

  [ErrorException]
  proc_open(): fork failed - Cannot allocate memory


require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]...

!!
  roundcube's script has encountered an error. Its execution was cancelled.
!!

Removing database roundcube
E: Unable to locate package roundcube-ynh-deps
Remove the user roundcube
The SSOwat configuration has been generated
Installation failed

@ghost
Copy link

ghost commented Jan 21, 2019

Same issue recently. Also on a LIME1.
Have temporary added a swap and the installation process was successful. 👌

/bin/dd if=/dev/zero of=/var/swap1 bs=1M count=512
/sbin/mkswap /var/swap1
/sbin/swapon /var/swap1

Did not change /etc/fstab to keep that swap file for the next reboots.

Maybe an « add before » and « remove after » install would be the only « solution » on a 512MB ram lime1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant