Maniphest T92481

Memory leak with loose wire and subsurf modifier
Closed, Resolved

Assigned To
Campbell Barton (campbellbarton)
Authored By
LapisSea (LapisSea)
Oct 25 2021, 8:08 PM
Tags
  • BF Blender
  • Modeling
Subscribers
Germano Cavalcante (mano-wii)
Jonathan Monsonego (audionego)
LapisSea (LapisSea)
Richard Antalik (ISS)

Description

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 496.13

Blender Version
Broken: version: 2.93.5, branch: master, commit date: 2021-10-05 12:04, hash: rBa791bdabd0b2

Short description of error
When playing animation on specific assed I created, a pretty bad memory leak is caused. I'm not sure what part of it is causing the leak. I was unable to narrow it down to what part of my asset causes the leak but have a hunch that the armature is to blame so I will share a minified down version of the blend.

NOTE: same memory leak is present in the 3.0/master branch on master daily builds!

Exact steps for others to reproduce the error

  1. Open the provided blend
  2. play animation
  3. observe memory growing being leaked trough system memory or on blender close

Blend:

(*Edit*, simplified file F11694452).

Demonstration:

Revisions and Commits

rB Blender
D13082

Event Timeline

LapisSea (LapisSea) created this task.Oct 25 2021, 8:08 PM
Richard Antalik (ISS) changed the task status from Needs Triage to Confirmed.Oct 26 2021, 5:26 AM
Richard Antalik (ISS) added a project: Modeling.
Richard Antalik (ISS) added a subscriber: Richard Antalik (ISS).

Can confirm leak - layerCopy_mdeformvert

Jonathan Monsonego (audionego) added a subscriber: Jonathan Monsonego (audionego).Oct 26 2021, 9:04 PM
Germano Cavalcante (mano-wii) triaged this task as High priority.Oct 28 2021, 4:07 PM
Germano Cavalcante (mano-wii) added a subscriber: Germano Cavalcante (mano-wii).

Looks like a serious leak. So I imagine it has high priority.

Campbell Barton (campbellbarton) renamed this task from Memory leak when playing animation on character to Memory leak with loose wire and subsurf modifier.Nov 3 2021, 11:44 AM
Campbell Barton (campbellbarton) moved this task from Backlog to Bugs on the Modeling board.
Campbell Barton (campbellbarton) updated the task description.Nov 3 2021, 11:46 AM
Campbell Barton (campbellbarton) added a revision: D13082: Fix T92481: Memory leak with subdivision surface modifier.
Campbell Barton (campbellbarton) closed this task as Resolved by committing rB393ef4d871d7: Fix T92481: Memory leak with subdivision surface modifier.Nov 8 2021, 2:25 PM
Campbell Barton (campbellbarton) claimed this task.
Campbell Barton (campbellbarton) added a commit: rB393ef4d871d7: Fix T92481: Memory leak with subdivision surface modifier.