Maniphest T101240

Memory leak in particular file containing vdb
Confirmed, Normal

Assigned To
None
Authored By
Tommy fei (1102196456)
Sep 21 2022, 6:22 AM
Tags
  • BF Blender
  • Nodes & Physics
Subscribers
Pratik Borhade (PratikPB2123)
Tommy fei (1102196456)

Description

System Information
Operating system:win11
Graphics card:3070ti,cpu 12700H

Blender Version
Broken:3.3.0,0759f671celf,master,2022-09-06 15:39
Worked:null

Short description of error
After opening the model and exiting without doing anything, the following memory leak message will be printed in the system console window on exit

Exact steps for others to reproduce the error

  • Open the uploaded file and close it without any additional operation
  • Notice the memory leak info in console.

Deleting VDB files from the file doesn't result in memory leak

Related Objects

Event Timeline

Tommy fei (1102196456) created this task.Sep 21 2022, 6:22 AM
Pratik Borhade (PratikPB2123) changed the task status from Needs Triage to Needs Information from User.Sep 21 2022, 6:54 AM
Pratik Borhade (PratikPB2123) added a subscriber: Pratik Borhade (PratikPB2123).

Hi, thanks for the report. 2GB file is way more for the investigation. Please simplify the file as much as you can.
Normally .blend files can be simplified by removing most objects and disabling settings, until the problem reveals itself more clearly.

Pratik Borhade (PratikPB2123) merged a task: T101243: Not freed memory blocks.Sep 21 2022, 11:35 AM
Tommy fei (1102196456) added a comment.Sep 22 2022, 4:32 AM

Hi, I have simplified the model and found that it is the file packed inside the blend that has this problem, presumably it is this vdb file, do you have any suggestions from your side?

Pratik Borhade (PratikPB2123) changed the task status from Needs Information from User to Confirmed.Sep 22 2022, 6:40 AM
Pratik Borhade (PratikPB2123) added a project: Nodes & Physics.

VDB files seems responsible. Deleting them doesn't cause the memory leak.

Pratik Borhade (PratikPB2123) renamed this task from Not freed memory blocks to Memory leak in particular file containing vdb.Sep 22 2022, 6:46 AM
Pratik Borhade (PratikPB2123) updated the task description.
Tommy fei (1102196456) added a comment.Sep 22 2022, 7:42 AM
In T101240#1420979, @Pratik Borhade (PratikPB2123) wrote:

VDB files seems responsible. Deleting them doesn't cause the memory leak.

I seem to need this for my model, is there any other way if I don't delete it?

Tommy fei (1102196456) added a comment.Sep 22 2022, 8:10 AM
In T101240#1420979, @Pratik Borhade (PratikPB2123) wrote:

VDB files seems responsible. Deleting them doesn't cause the memory leak.

I also tried creating a new blend project and found that if I pack other vdb files inside blend there is also a memory leak, can this be fixed please? Thank you very much!

Pratik Borhade (PratikPB2123) added a comment.Sep 22 2022, 8:41 AM

From where you got these vdb files?

Tommy fei (1102196456) added a comment.Sep 22 2022, 8:46 AM
In T101240#1421011, @Pratik Borhade (PratikPB2123) wrote:

From where you got these vdb files?

I downloaded the vdb file from this site
https://jangafx.com/software/embergen/download/free-vdb-animations/