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

Memory issues when ByteArrayBuffer gets instantiated with a large value despite maxLength being set #462

Closed
jnioche opened this Issue May 5, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@jnioche
Member

jnioche commented May 5, 2017

Am getting a heapdump where a single ByteArrayBuffer takes 1,111,950,000 bytes, despite the max content having been set to 52,428,800

https://github.com/DigitalPebble/storm-crawler/blob/master/core/src/main/java/com/digitalpebble/stormcrawler/protocol/httpclient/HttpProtocol.java#L261

We should instantiate the ByteArrayBuffer with the max length instead of the one returned by the server

@jnioche jnioche added this to the 1.5 milestone May 5, 2017

@jnioche jnioche closed this in 99c550a May 5, 2017

jnioche added a commit that referenced this issue May 8, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment