Spike: solr:worker:run crashes and fills the queue infinitely

Description

Steps to reproduce

  • Use an account with a lot of content (see comment)

  • Queue a solr-worker message

  • Run php app/console solr:worker:run -e prod

  • Result:
    PHP Fatal error: Allowed memory size of 1048576000 bytes exhausted (tried to allocate 32 bytes) in /home/integrated/vendor/doctrine/mongodb-odm/lib/Doctrine/ODM/MongoDB/PersistentCollection/AbstractPersistentCollectionFactory.php on line 46

Environment

None

Deployment actions

run:

  • composer install

Technical tasks

None

Status

Assignee

Unassigned

Reporter

Marijn Otte

Client

Integrated Marijn

External issue ID

None

Follow up date

None

Code reviewer

Jeroen van Leeuwen

Developer

Patrick Mestebeld

Plan date

None

Max. hours

None

Error message

None

Min. hours

None

Product owner

Marijn Otte

Refiner

None

Switches

None

Dev hour estimate

None

Story Points

1

Time tracking

4h 15m

Sprint

None

Fix versions

Due date

2017/07/28

Priority

Major
Configure