Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Layershot crashes when the psd size becomes too large #16

Open
vpdn opened this issue Jul 15, 2014 · 0 comments
Open

Layershot crashes when the psd size becomes too large #16

vpdn opened this issue Jul 15, 2014 · 0 comments
Assignees
Labels

Comments

@vpdn
Copy link
Owner

vpdn commented Jul 15, 2014

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).

@vpdn vpdn added the bug label Jul 15, 2014
@vpdn vpdn self-assigned this Jan 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant