Comments (9)
Ok after an other try, problem disappeared.
from pim-community-dev.
Seems I was not the only one: http://www.akeneo.com/topic/abrupt-termination-while-loading-fixtures-data/
from pim-community-dev.
I got the problem again :-( I'm maybe a crazy installer. In fact I try to reproduce an other issue :-(
Sorry for all my messages, let me know if it bother you, I will try to be less prolix. This idea is jut to share what kind of issues I met during the install.
Here the reproduced error I got after running the pim:install --force --env=dev
Creating indexes for string index table
Completed.
Starting reindex task
PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 72 bytes) in /var/www/akeneo/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php on line 579
PHP Stack trace:
PHP 1. {main}() /var/www/akeneo/app/console:0
PHP 2. Symfony\Component\Console\Application->run() /var/www/akeneo/app/console:27
PHP 3. Symfony\Bundle\FrameworkBundle\Console\Application->doRun() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:121
PHP 4. Symfony\Component\Console\Application->doRun() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:96
PHP 5. Symfony\Component\Console\Application->doRunCommand() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:191
PHP 6. Symfony\Component\Console\Command\Command->run() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:904
PHP 7. Pim\Bundle\InstallerBundle\Command\InstallCommand->execute() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:244
PHP 8. Pim\Bundle\InstallerBundle\Command\InstallCommand->databaseStep() /var/www/akeneo/src/Pim/Bundle/InstallerBundle/Command/InstallCommand.php:117
PHP 9. Pim\Bundle\InstallerBundle\Command\InstallCommand->launchCommands() /var/www/akeneo/src/Pim/Bundle/InstallerBundle/Command/InstallCommand.php:234
PHP 10. Oro\Bundle\InstallerBundle\CommandExecutor->runCommand() /var/www/akeneo/src/Pim/Bundle/InstallerBundle/Command/InstallCommand.php:420
PHP 11. Symfony\Component\Console\Application->run() /var/www/akeneo/vendor/oro/platform/src/Oro/Bundle/InstallerBundle/CommandExecutor.php:116
PHP 12. Symfony\Bundle\FrameworkBundle\Console\Application->doRun() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:121
PHP 13. Symfony\Component\Console\Application->doRun() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:96
PHP 14. Symfony\Component\Console\Application->doRunCommand() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:191
PHP 15. Symfony\Component\Console\Command\Command->run() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:904
PHP 16. Pim\Bundle\SearchBundle\Command\ReindexCommand->execute() /var/www/akeneo/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:244
PHP 17. Oro\Bundle\SearchBundle\Engine\Orm->reindex() /var/www/akeneo/src/Pim/Bundle/SearchBundle/Command/ReindexCommand.php:43
PHP 18. Doctrine\ORM\EntityManager->flush() /var/www/akeneo/vendor/oro/platform/src/Oro/Bundle/SearchBundle/Engine/Orm.php:75
PHP 19. Doctrine\ORM\UnitOfWork->commit() /var/www/akeneo/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:389
PHP 20. Doctrine\ORM\UnitOfWork->computeChangeSets() /var/www/akeneo/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:297
PHP 21. Doctrine\ORM\UnitOfWork->computeScheduleInsertsChangeSets() /var/www/akeneo/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:703
PHP 22. Doctrine\ORM\UnitOfWork->computeChangeSet() /var/www/akeneo/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:404
from pim-community-dev.
Hi @diglin,
Please don't stop sending us these messages ;) We are really grateful to have your feedbacks !
On the memory limit, it seems that some operation on Oro side needs more than 512 MB on the php-cli side. As it seems that it's linked to installation, we could add a ini_set() inside the installation script to temporary boost the memory_limit for the installation (but it's really hackish and not respectful of the system configuration).
Did you try with 728 MB memory_limit for CLI ? If it works, I will update the README.md.
Thanks again !
from pim-community-dev.
Hello @BitOne
Thank you for ALL of your feedbacks :-)
Raising to 728MB seems to be more stable. I tried several times and no problem appeared.
from pim-community-dev.
Thank you @diglin ;)
I just changed the README.md doc to 728 MB. I will keep this issue open as I considered this value quite too high, but as it seem to be related to Oro platform, it could be fixed with a new version.
from pim-community-dev.
I also had this issue. Running MAMP with php 5.4.4 and I actually had to go up to 1gb and over that while actually using the install as it would randomly exhaust the memory.
from pim-community-dev.
Hi @crxgames
Thank you for the feedback, do you have this issue on the same step "Starting reindex task" or on another one ?
from pim-community-dev.
Yes, it was on the reindex task.
The memory issue I mentioned while using the install is different. I was getting a segfault and just up'd the memory and it stopped. I haven't had time to dig into it much yet.
from pim-community-dev.
Related Issues (20)
- One error during export.
- Commands fail with "An option shortcut cannot be empty." HOT 6
- Bug Report - Unable to Upload Product Images in Akeneo v7.0.50
- Feature Request: API: allow the IN operator on the text attribute type.
- Manual installation of Akeneo PIM Community Edition (CE) v. 7.0 on Ubuntu fails HOT 1
- cannot install apps from the store - Internal Server Error 500 HOT 3
- Opening the CREATE GROUP page reports Error 500, Impossible to access an attribute ("indexPath") on a string variable ("New Group") HOT 1
- API connect with api-php-client not working, return error 422 HOT 1
- Can't bulk delete products HOT 2
- EACCES Permission denied Make command HOT 2
- No alive nodes found in your cluster HOT 3
- Impossible to register an export to SFTP - The route "pimee_job_automation_get_storage_connection_check" does not exist.
- Post /api/rest/v1/products not creating product (returns 200)
- Database save on server and load after restart Docker container HOT 2
- Install these repo without docker HOT 1
- image import in demo product HOT 2
- Error when editing a product bases on a family with 0 required attributes
- How create a connector for the exchange of data between the PIM and another publication management system HOT 1
- Support arm64 platforms for Akaneo container images
- Identity Server connector HOT 2
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 pim-community-dev.