Memory leak in particular file containing vdb #101240

Open
opened 2022-09-21 06:22:58 +02:00 by Tommy fei · 12 comments

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
image.png

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
    fantasy_castal_final_contents.blend
**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 ![image.png](https://archive.blender.org/developer/F13537226/image.png) **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 [fantasy_castal_final_contents.blend](https://archive.blender.org/developer/F13550147/fantasy_castal_final_contents.blend)
Author

Added subscriber: @Tommy-fei

Added subscriber: @Tommy-fei

#101243 was marked as duplicate of this issue

#101243 was marked as duplicate of this issue
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

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.

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.
Author

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?
fantasy_castal_final_contents.blend

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? [fantasy_castal_final_contents.blend](https://archive.blender.org/developer/F13550147/fantasy_castal_final_contents.blend)
Member

Changed status from 'Needs User Info' to: 'Confirmed'

Changed status from 'Needs User Info' to: 'Confirmed'
Member

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

VDB files seems responsible. Deleting them doesn't cause the memory leak.
Pratik Borhade changed title from Not freed memory blocks to Memory leak in particular file containing vdb 2022-09-22 06:46:25 +02:00
Author

In #101240#1420979, @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?

> In #101240#1420979, @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?
Author

In #101240#1420979, @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!

> In #101240#1420979, @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!
Member

From where you got these vdb files?

From where you got these vdb files?
Author

In #101240#1421011, @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/

> In #101240#1421011, @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/
Philipp Oeser removed the
Interest
Nodes & Physics
label 2023-02-10 08:43:43 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#101240
No description provided.