Comments (15)
Please give this a try...
sudo php -d memory_limit=-1 /usr/local/bin/composer install
from invoiceninja.
I'm getting this same error in the year 2020.
from invoiceninja.
Hi,
I have the same problem. The memory limit is set to memory_limit=2048M
from invoiceninja.
Tried this again using 5.0.9 and I was met with the same issue. Hopefully this would not be an issue in v6?
from invoiceninja.
I was able to resolve it by upgrading to composer 2
https://blog.packagist.com/composer-2-0-is-now-available/
from invoiceninja.
No luck. Regardless, after looking into it it's clearly not an invoice-ninja issue so I'll close it and look for a solution elsewhere. Thanks for the help!
from invoiceninja.
Remove your ~/.composer
folder contents. Then execute the install command again.
from invoiceninja.
@rtconner the fix for this is the same every year, you need to increase you php.ini memory_limit variable as your machine is running out of memory
from invoiceninja.
+1 ... even with the php -d memory_limit=-1
and with swap enabled
from invoiceninja.
@hillelcoren is there anything we can shed and have them installed "on demand" instead?
from invoiceninja.
my limit exceeds near
Downloading http://repo.packagist.org/p/symfony/http-client%24a9db168b5df802e4a673e7154eb194622f1864376ab370b62be2cdfa8b30a17e.json
Writing /root/.composer/cache/repo/https---repo.packagist.org/provider-symfony$http-client.json into cache
Downloading http://repo.packagist.org/p/symfony/http-client-contracts%24fc19156552dda72bd5f3ba28f058f2a99fba178bc49560f3012a31d5c1ddb86b.json
Writing /root/.composer/cache/repo/https---repo.packagist.org/provider-symfony$http-client-contracts.json into cache
Downloading http://repo.packagist.org/p/stecman/symfony-console-completion%2419251b784a7c78cfa673f4cddbcfd535afa8fb78e1d4a7b0302cec5a2c6682f8.json
Writing /root/.composer/cache/repo/https---repo.packagist.org/provider-stecman$symfony-console-completion.json into cache
Downloading http://repo.packagist.org/p/codeception/stub%24c379e4da40fd48884b1954b8df249239aedec333162fed97fdc64acd7fdfa155.json
Writing /root/.composer/cache/repo/https---repo.packagist.org/provider-codeception$stub.json into cache
Downloading http://repo.packagist.org/p/codeception/phpunit-wrapper%2485744348903a0967b5194ec30d51c2c4e2cc6088e5ed45acb3f97e539599ab1c.json
Writing /root/.composer/cache/repo/https---repo.packagist.org/provider-codeception$phpunit-wrapper.json into cache
Downloading http://repo.packagist.org/p/phar-io/manifest%245773f97e4ae5dd09c8c434d5cf367689e3881c08af749858ea2acf4b6b392038.json
Writing /root/.composer/cache/repo/https---repo.packagist.org/provider-phar-io$manifest.json into cache
Downloading http://repo.packagist.org/p/phar-io/version%244d7027cb6778ec0c4b6122b93d60a78e64897b5928966366e781f36046c304c7.json
Writing /root/.composer/cache/repo/https---repo.packagist.org/provider-phar-io$version.json into cache
Downloading http://repo.packagist.org/p/sebastian/type%242236534b3ca251111de2082f5fe8636303c1bcfcbb5541ac5534f2685c72857a.json
Writing /root/.composer/cache/repo/https---repo.packagist.org/provider-sebastian$type.json into cache
Downloading http://repo.packagist.org/p/sebastian/object-reflector%24522588e3d4fe97da4bbb788d125f6d9559b75b70dd794ddcb82b189b6c8cf33d.json
Writing /root/.composer/cache/repo/https---repo.packagist.org/provider-sebastian$object-reflector.json into cache
Downloading http://repo.packagist.org/p/phpspec/phpspec%24ee6b417b28d707d8088de17bc8875b37469f9411d160c8bcba49073e1ace0f0d.json
Writing /root/.composer/cache/repo/https---repo.packagist.org/provider-phpspec$phpspec.json into cache
Downloading http://repo.packagist.org/p/phpspec/php-diff%24b789dcecdbfebac79e3db8ae48c7f13d94c464e8beced437fa2e996fabee59dd.json
Writing /root/.composer/cache/repo/https---repo.packagist.org/provider-phpspec$php-diff.json into cacheFatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/Solver.php on line 223
from invoiceninja.
This should hopefully not be an issue in v5
from invoiceninja.
I'm using 4.5.18 ...any recommendations on what I can do until then?
from invoiceninja.
Sorry, I don't
from invoiceninja.
Seems a bit concerning that this has been happening since 2014, and the best solution is to simply remove the guardrails.
from invoiceninja.
Related Issues (20)
- When creating a new expense from a transaction the "Inclusive Taxes" toggle is ignored + Amount is negative HOT 1
- Confirmation of the order/Auftragsbestätigung HOT 1
- Line item with 3 or more decimals issue in Web version -Ok in Desktop app HOT 1
- Create UBL files for expenses
- Recurring invoices switches to pending on status when you edit HOT 1
- Project summary - Exact Count of Total Hours
- Project Graph Like V4
- request to add Import Purchase orders
- Reminder is not sent automatically (#9228) HOT 4
- Error Export to JSON via web interface HOT 2
- Invoice CC HOT 1
- New currency request
- Documents marked "Sent" even when email failed to be dispatched by Invoice Ninja. HOT 1
- Past Due Reminder is sent automatically next, day, after sending initial email vie "Send Email" button.
- Calculation bug with recurring invoices in other currencies HOT 1
- Settings > Invoice Design : Background/Stamp PDF
- Client Facing Task Log/Report HOT 3
- CTRL+V clipboard contents into Document attachments
- Missing Currency
- Embed documents not visible in generated PDF HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from invoiceninja.