Skip to content

Layershot crashes when the psd size becomes too large #16

@vpdn

Description

@vpdn

Currently, because of the way the psd lib works, all psd layers are kept in memory and only written to disk after all layers have been processed. This causes files with large number of layers to fill up the entire space, leading to a low memory situation.

We need to either a check for low memory situations in which case we should abort the psd creation or alter the psd generator to work in a stream based manner (NSOutputStream).

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions