Skip to content

How to solve the problem of memory overflow when compressing large files #31

@LianSchedule

Description

@LianSchedule

Description

When I tried to compress files close to 1G, there was a memory overflow error. My server memory is 16G, and I have ini_set ('memory_limit','8000M').
Example

Fatal error: Out of memory (allocated 2097152) (tried to allocate 1004084008 bytes) in ...\vendor\nelexa\zip\src\PhpZip\Model\Entry\ZipNewFileEntry.php on line 51

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions