Skip to content

potential memory leak from TFTensor #926

@tcmxx

Description

@tcmxx

I see in CoreBrainInternal, all TFTensors are not disposed by calling Dispose() (including datas feeding to network that are implicitly converted to TFTensor).

I think this might cause memory leak problem, at least according to Tensorflowsharp it is necessary to Dispose it, and previously this has encountered to me.

Also, Texture2D that are not destroyed might also cause memory leak (not very sure.).

Metadata

Metadata

Labels

bugIssue describes a potential bug in ml-agents.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions