Skip to content

Buffer resize - #206

Merged
zhenlineo merged 7 commits into
neo4j:1.5from
zhenlineo:1.5-buffer-capacity
Dec 6, 2017
Merged

Buffer resize#206
zhenlineo merged 7 commits into
neo4j:1.5from
zhenlineo:1.5-buffer-capacity

Conversation

@zhenlineo

Copy link
Copy Markdown
Contributor

Fixed the buffer resize issue due to not freeing reference in MessageFrame
Removed recursive call based on #204

Fixed the reference problem also in compiled C code.
Did not change recurse call in C code assuming C does not have a too big issue with recursion.

Zhen and others added 5 commits November 30, 2017 15:53
Still cannot locate where is the problem. Failed to reproduce it with a unit test.
The guess of the cause of bug is related to reading a big chunk that cannot be fit in buffer after the first INIT message. It seems INIT might hold a reference to a memory view somewhere.
@zhenlineo
zhenlineo force-pushed the 1.5-buffer-capacity branch from 0ba73d1 to ae4d13e Compare December 5, 2017 15:13
@zhenlineo
zhenlineo merged commit c0e539a into neo4j:1.5 Dec 6, 2017
@zhenlineo
zhenlineo deleted the 1.5-buffer-capacity branch December 6, 2017 12:18
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

Successfully merging this pull request may close these issues.

2 participants