Skip to content

Animation tutorial leaks GPU Process memory #38

Description

@shamrin

Animation example leaks GPU Process memory, according to Chrome Task Manager.

How to replicate:

  1. Open tutorial: https://wwwtyro.github.io/candygraph/tutorial/dist/
  2. Scroll to animation example.
  3. Open Chrome Task Manager.
  4. Click on plot to start the animation.
  5. Watch GPU Process memory grow forever in Task Manager.
  6. Close tutorial tab.
  7. Watch GPU Process memory get released.

image

image

I would have tried to debug the problem myself, but I'm not that familiar with WebGL. I have no idea how to even approach this problem.

CandyGraph is an awesome library, and it works very well. Unfortunately, in my real time animation code, GPU Process memory is leaking very fast. In a few minutes, the web app slows to a halt after about 4Gb of memory allocated. I'm animating at about 30 FPS.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions