Skip to content

Memory leak in FuncGraph #727

Closed
Closed

Description

@Esther2013

There is memory leak when created a FuncGraph with resources in the graph.
When disposing the FuncGraph, the resources havn't been disposed never.

Activity

  1. added
    bug
    on Jan 20, 2021
  2. Esther2013 commented on Jan 21, 2021

    @Esther2013
    MemberAuthor

    KerasHistory causes ResourceVariable not released.
    _handle in placeholder is IntPtr.Zero.

  3. Oceania2018 commented on Jan 22, 2021

    @Oceania2018
    Member

    Same issue as #719.

  4. added a commit that references this issue on Jan 23, 2021
  5. MPnoy commented on Jan 25, 2021

    @MPnoy
    Contributor

    As I understand it, because of this, when working in eager mode with Keras models, a memory leak occurs when model.Apply() or layer.Apply() is constantly called.

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

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions