humhub / legal

3 stars 8 forks source link

User Data Export requires alot of php memory for larger exports #85

Closed sir1ke closed 1 month ago

sir1ke commented 1 month ago

When having alot of data for the personal data export the server needs alot of free php memory. I could only succesfully download the file after increasing the memory to 2gb.

yii\base\ErrorException: Allowed memory size of 536870912 bytes exhausted (tried to allocate 985692280 bytes) in /var/www/share/***/htdocs/protected/modules/legal/services/ExportService.php:82 Stack trace:

0 [internal function]: yii\base\ErrorHandler->handleFatalError()

1 {main}

yurabakhtin commented 1 month ago

@luke- PR https://github.com/humhub/legal/pull/87 should fix it, I have tested with 3GB file.