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

Connection to assetsd was interrupted or assetsd died #19

Open
apexskier opened this issue Sep 28, 2015 · 2 comments
Open

Connection to assetsd was interrupted or assetsd died #19

apexskier opened this issue Sep 28, 2015 · 2 comments

Comments

@apexskier
Copy link

I'm getting this error when using Regift. I think it's related to memory issues writing too large of a gif, but I'm wondering if anyone's seen or resolved this.

@matthewpalmer
Copy link
Owner

Hmm that's a really annoying error! I haven't come across it, so I'm not sure I can help fix it sorry. I will leave this open for a couple of weeks—hopefully someone else will come across it :)

@apexskier
Copy link
Author

Yeah, it's not your fault. Turns out the CGImageDestinationFinalize loads all images in the GIF into memory at once and writes in one giant operation. If you have too many/too large images you'll run out of memory.

See http://stackoverflow.com/questions/29723024/creating-a-large-gif-with-cgimagedestinationfinalize-running-out-of-memory for more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants