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

"Max buffer exceeded" when creating PNG fallbacks with PhantomJS #14

Open
jkphl opened this issue Aug 21, 2015 · 0 comments
Open

"Max buffer exceeded" when creating PNG fallbacks with PhantomJS #14

jkphl opened this issue Aug 21, 2015 · 0 comments
Assignees

Comments

@jkphl
Copy link
Owner

jkphl commented Aug 21, 2015

In case the sprite dimensions are too big, it's possible that the max. buffer for the PhantomJS call gets exceeded. There should be a third argument to the execFile() command:

execFile(phantomjs, [ /* ... */ ], {maxBuffer: maxBufferSize}, callback);
@jkphl jkphl self-assigned this Aug 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant