Skip to content

Fix memory leak occuring with new layout of string tensors - #253

Merged
karllessard merged 1 commit into
tensorflow:r0.3from
saudet:fix-tstring
Mar 28, 2021
Merged

Fix memory leak occuring with new layout of string tensors#253
karllessard merged 1 commit into
tensorflow:r0.3from
saudet:fix-tstring

Conversation

@saudet

Copy link
Copy Markdown
Contributor

Also fix and actually use JavaCPP deallocator for TF_Session as well

Fixes#251 and we should probably add a regression test for that somewhere.
What would be a good place?

@karllessard
karllessard changed the base branch from master to r0.3March 26, 2021 13:19
@karllessard
karllessard changed the base branch from r0.3 to masterMarch 26, 2021 13:22
@karllessard

Copy link
Copy Markdown
Collaborator

Thanks @saudet , can you please rebase your changes on the r0.3 branch instead? We'll merge it in that branch to quickly release a version 0.3.1 with these fixes.

For the regression test, what about here?

@saudet
saudet changed the base branch from master to r0.3March 26, 2021 23:43
@saudet

Copy link
Copy Markdown
ContributorAuthor

I've changed the base to r0.3 and it seems like it can still merge this, so go ahead!

Also fix and actually use JavaCPP deallocator for TF_Session as well

@karllessardkarllessard left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All right looks good @saudet , thanks! I'll merge it when I'll be ready to release 0.3.1

@karllessard
karllessard merged commit d0434de into tensorflow:r0.3Mar 28, 2021
@brychcybrychcy mentioned this pull request Jul 30, 2021
Sign up for freeto 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.

Possible memory leak with version 0.3.0

2 participants

@saudet@karllessard