At a moment to run the project installation the module runs exhausted memory

I hot this error:

[notice] Starting Drupal installation. This takes a while.
[notice] Performed install task: install_select_language
[notice] Performed install task: install_select_profile
[notice] Performed install task: install_load_profile
[notice] Performed install task: install_verify_requirements
[notice] Performed install task: install_settings_form
[notice] Performed install task: install_verify_database_ready
[notice] Performed install task: install_base_system
[notice] Performed install task: install_bootstrap_full
PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 208896 bytes) in /var/www/html/web/core/lib/Drupal/Core/Cache/MemoryBackend.php on line 109

This happen with 512M the memory limit for php.

CommentFileSizeAuthor
#5 3254457-4.patch1.94 KBsorlov
#2 3254457-2.patch1.9 KBvacho

Comments

vacho created an issue. See original summary.

vacho’s picture

StatusFileSize
new1.9 KB

This patch lets install the module without performance issues, however needs work because I remove some attributes that I see as unused, but need discussion.

berdir’s picture

Status: Active » Needs review

lets see what tests think, but I doubt that will work.

might need to implement __sleep() and __wakeup() instead or use the dependency serialization trait.

Status: Needs review » Needs work

The last submitted patch, 2: 3254457-2.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

sorlov’s picture

StatusFileSize
new1.94 KB

Reverted issue condition on $definition['description']

jonathanshaw’s picture