Skip to content

Instantly share code, notes, and snippets.

@Nevercold
Last active August 14, 2019 20:13
Show Gist options
  • Select an option

  • Save Nevercold/b971af92cdfa080544d38c2f7660e94f to your computer and use it in GitHub Desktop.

Select an option

Save Nevercold/b971af92cdfa080544d38c2f7660e94f to your computer and use it in GitHub Desktop.

Revisions

  1. Nevercold revised this gist Aug 14, 2019. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,4 @@
    composer require hcgcloud/pterodactyl-sdk:dev-master
    PHP Warning: Module 'ssh2' already loaded in Unknown on line 0
    ./composer.json has been updated
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
  2. Nevercold created this gist Aug 14, 2019.
    12 changes: 12 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    composer require hcgcloud/pterodactyl-sdk:dev-master
    PHP Warning: Module 'ssh2' already loaded in Unknown on line 0
    ./composer.json has been updated
    Loading composer repositories with package information
    Updating dependencies (including require-dev)

    mmap() failed: [12] Cannot allocate memory

    mmap() failed: [12] Cannot allocate memory
    PHP Fatal error: Out of memory (allocated 1733808128) (tried to allocate 20480 bytes) in phar:///usr/local/bin/composer/src/Composer/Repository/ComposerRepository.php on line 340

    Fatal error: Out of memory (allocated 1733808128) (tried to allocate 20480 bytes) in phar:///usr/local/bin/composer/src/Composer/Repository/ComposerRepository.php on line 340