- Issue created by @baikho
The JsonSubItem
parser suffers from memory exhaustion when processing large JSON responses with nested subitems. The current implementation loads all items and their subitems into memory at once, which can lead to PHP memory limits being exceeded. It fails whilst calling the parent JSON parser, see below error:
Error:
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4096 bytes) in /web/modules/contrib/migrate_plus/src/Plugin/migrate_plus/data_parser/Json.php on line 59
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 40960 bytes) in /vendor/composer/ClassLoader.php on line 576
source:
plugin: url
data_fetcher_plugin: http
data_parser_plugin: json_subitem
item_selector: Items
subitem_selector: SubItems
TBD
TBD
N/A
N/A
N/A
Active
6.0
Plugins