ynorth-projects / openy_repeat

Decouple openy_repeat.
1 stars 17 forks source link

Memory consumption is high #32

Closed AndreyMaximov closed 1 year ago

AndreyMaximov commented 1 year ago

When the openy_repeat paragraphs are loading for the first time, the OpenyRepeatRepository::getLocations() method tends to get most session nodes loaded. This makes the entity memory cache service consume quite some memory, in our case, more than 256 MB.

See https://github.com/ynorth-projects/openy_repeat/blob/928a661ee6a8599d94781c5c7f0215c7800362de/src/OpenyRepeatRepository.php#L122

podarok commented 1 year ago

Thanks