This repository was archived by the owner on May 16, 2020. It is now read-only.
possible memory leak through ref cursor (analysis)#71
Open
Conversation
Member
Author
test script updated
Member
Author
Merged
Member
Author
> mec_oc:test_ref_cursor(Conn, TestSql, 1000, BindVars, BindValues).
Resources #{connection => 1,context => 1,data => 0,datapointer => 0,
statement => 0,variable => 0}
{1000, 0.01%} {900, 0.01%} {800, 0.01%} {700, 0.01%} {600, 0.02%} {500, 0.02%} {400, 0.02%}
{300, 0.02%} {200, 0.02%} {100, 0.02%} {end, 0.02%}
Resources #{connection => 1,context => 1,data => 0,datapointer => 0,
statement => 0,variable => 0} |
updated with master
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.






@shamis and @acautin,
My erlang level attemps only confirms your observations so far. The test module
mec_ochere is slightly enhanced version on @acautin 's work.I think this module is already closest to dpi (as far erlang can go). Tried different combinations without any improvements so far!
Next step is to implement this with C (taking the NIF part out of the way to get losest to dpi APIs) and perform similar tests.