Possible memory leak in Freestyle #56257

Closed
opened 2018-08-07 02:57:13 +02:00 by Matt Johnson · 6 comments

System Information
Mac OSX 10.13.4
4Ghz Intel Core i7
32GB RAM
AMD RADEON R9 M295X 4GB
AMD RADEON RX 580 8GB

Blender Version
Broken: 2.79b Hash: f4dc9f9

Freestyle rendering using over 100GB of ram for specific frames

Exact steps for others to reproduce the error
Load provided .Blend file, hit render, wait.
Memory usage has made it up to over 138Gb (using swap files of course), and render of this frame never seems to make it past "Freestyle: View Map Creation"

This animation was taking just minutes to render each frame, up until about frame 330... when the camera turns, and actually sees very little.
Each frame was taking exponentially longer, and I have not been able to render frame 339, even after an entire day. Cancelling the render with ESC key, blender responds, and shows that it is cancelling it, however memory usage sometimes will still increase and I can no longer quit Blender without a force quit. It seems that if I cancel it before it gets up to about 60GB of memory usage, It will cancel, but the memory isn't freed up until I quit Blender. This sounded similar to some previous memory leak issues with freestyle I read about on here, so I tried adding in a few more objects, of larger, and much smaller sizes... It showed a tad of improvement with the freestyle render, getting to 100% faster, although still was not able to actually finish the render.

I'm kind of new to Blender, so If i've overlooked something, sorry to take up your time! Don't hesitate to ask me any questions! I'd love to help squash this!
ThanksB10 -4-4Tunnel Freestyle.blend

**System Information** Mac OSX 10.13.4 4Ghz Intel Core i7 32GB RAM AMD RADEON R9 M295X 4GB AMD RADEON RX 580 8GB **Blender Version** Broken: 2.79b Hash: f4dc9f9 **Freestyle rendering using over 100GB of ram for specific frames** **Exact steps for others to reproduce the error** Load provided .Blend file, hit render, wait. Memory usage has made it up to over 138Gb (using swap files of course), and render of this frame never seems to make it past "Freestyle: View Map Creation" This animation was taking just minutes to render each frame, up until about frame 330... when the camera turns, and actually sees very little. Each frame was taking exponentially longer, and I have not been able to render frame 339, even after an entire day. Cancelling the render with ESC key, blender responds, and shows that it is cancelling it, however memory usage sometimes will still increase and I can no longer quit Blender without a force quit. It seems that if I cancel it before it gets up to about 60GB of memory usage, It will cancel, but the memory isn't freed up until I quit Blender. This sounded similar to some previous memory leak issues with freestyle I read about on here, so I tried adding in a few more objects, of larger, and much smaller sizes... It showed a tad of improvement with the freestyle render, getting to 100% faster, although still was not able to actually finish the render. I'm kind of new to Blender, so If i've overlooked something, sorry to take up your time! Don't hesitate to ask me any questions! I'd love to help squash this! Thanks![B10 -4-4Tunnel Freestyle.blend](https://archive.blender.org/developer/F4141743/B10_-4-4Tunnel_Freestyle.blend)
Author

Added subscriber: @ActionTime

Added subscriber: @ActionTime

Added subscribers: @kjym3, @mont29

Added subscribers: @kjym3, @mont29
Tamito Kajiyama was assigned by Bastien Montagne 2018-08-08 10:00:21 +02:00

@kjym3 mind checking on that one? thanks.

@kjym3 mind checking on that one? thanks.
Tamito Kajiyama was unassigned by Dalai Felinto 2019-12-23 16:36:02 +01:00
Member

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker
Member

Changed status from 'Confirmed' to: 'Archived'

Changed status from 'Confirmed' to: 'Archived'
Jeroen Bakker self-assigned this 2020-01-27 09:28:34 +01:00
Member

As this ticket is about a possible memory leak I tried to reproduce the leak, but was not able to do so. This scene is too complex. Memory leaks should also be detected with smaller scenes. So will mark this issue as Invalid. Please upload an as small as possible blend file that shows the issue at hand.

As this ticket is about a possible memory leak I tried to reproduce the leak, but was not able to do so. This scene is too complex. Memory leaks should also be detected with smaller scenes. So will mark this issue as Invalid. Please upload an as small as possible blend file that shows the issue at hand.
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#56257
No description provided.