Blender 2.81 Sculpting on ubuntu 18.04 fills memory gradually #71866

Closed
opened 2019-11-24 19:38:51 +01:00 by Ako · 17 comments

System Information
Operating system: Ubuntu 18.04
Graphics card: GEForce 940 MX

Blender Version
Broken: (example: 2.81, Linux, Glibc217,)

Blender 2.81 fills memory when i'm Sculpting gradually, and does not free it on exit. I have to restart my system to free the memory.( in this latest build it frees memory a little but not completely). it works fine in 2.80 and previous versions but in all 2.81 versions I tried I had this problem, I was hoping in the final build, blender team solve this problem but it still exists there and with all refinements in 2.81 for sculpting I can't use it. BTW I'm using Dyntopo for sculpting. When I look at "monitor" app in Ubuntu it shows that "Xorg" fills memory.

**System Information** Operating system: Ubuntu 18.04 Graphics card: GEForce 940 MX **Blender Version** Broken: (example: 2.81, Linux, Glibc217,) Blender 2.81 fills memory when i'm Sculpting gradually, and does not free it on exit. I have to restart my system to free the memory.( in this latest build it frees memory a little but not completely). it works fine in 2.80 and previous versions but in all 2.81 versions I tried I had this problem, I was hoping in the final build, blender team solve this problem but it still exists there and with all refinements in 2.81 for sculpting I can't use it. BTW I'm using Dyntopo for sculpting. When I look at "monitor" app in Ubuntu it shows that "Xorg" fills memory.
Author

Added subscriber: @Akov

Added subscriber: @Akov
Pablo Dobarro was assigned by Bartosz Moniewski 2019-11-25 01:38:57 +01:00

Added subscriber: @YAFU

Added subscriber: @YAFU

Please give information about the driver you use. For example you share here the result of each of the following lines from the terminal:

sudo lshw -c video
cat /proc/driver/nvidia/version
Please give information about the driver you use. For example you share here the result of each of the following lines from the terminal: ``` sudo lshw -c video ``` ``` cat /proc/driver/nvidia/version ```
Author

hi, this is return of 'lshw' command:

  *-display                 
       description: VGA compatible controller
       product: HD Graphics 620
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 02
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:127 memory:ed000000-edffffff memory:c0000000-cfffffff ioport:f000(size=64) memory:c0000-dffff
  *-display
       description: 3D controller
       product: GM108M [GeForce 940MX]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a2
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:129 memory:ee000000-eeffffff memory:d0000000-dfffffff memory:e0000000-e1ffffff ioport:e000(size=128) memory:ef000000-ef07ffff

and my nvidia driver version:

NVRM version: NVIDIA UNIX x86_64 Kernel Module  435.21  Sun Aug 25 08:17:57 CDT 2019
GCC version:  gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1) 
hi, this is return of 'lshw' command: ``` *-display description: VGA compatible controller product: HD Graphics 620 vendor: Intel Corporation physical id: 2 bus info: pci@0000:00:02.0 version: 02 width: 64 bits clock: 33MHz capabilities: pciexpress msi pm vga_controller bus_master cap_list rom configuration: driver=i915 latency=0 resources: irq:127 memory:ed000000-edffffff memory:c0000000-cfffffff ioport:f000(size=64) memory:c0000-dffff *-display description: 3D controller product: GM108M [GeForce 940MX] vendor: NVIDIA Corporation physical id: 0 bus info: pci@0000:01:00.0 version: a2 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list rom configuration: driver=nvidia latency=0 resources: irq:129 memory:ee000000-eeffffff memory:d0000000-dfffffff memory:e0000000-e1ffffff ioport:e000(size=128) memory:ef000000-ef07ffff ``` and my nvidia driver version: ``` NVRM version: NVIDIA UNIX x86_64 Kernel Module 435.21 Sun Aug 25 08:17:57 CDT 2019 GCC version: gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1) ```

Added subscriber: @MaciejJutrzenka

Added subscriber: @MaciejJutrzenka

can u upload file when your memory usage is for example at 10gb RAM? we could download it.. and test what is our ram usage. with such file..

can u upload file when your memory usage is for example at 10gb RAM? we could download it.. and test what is our ram usage. with such file..
Author

its a big file with 184mb size, and I just have 8gb of RAM. can't upload it here.
Update: I tried many times, it's not the file, I mean just opening a file that I sculpted before doesn't fills RAM, it fills some parts of my RAM, but when I close that file, my RAM gets free again, but when I sculpt, 'Xorg' consumes RAM gradually until there it fills it, and when I close the file or even blender my RAM doesn't get free. it seems somehow a garbage collector doesn't work fine. also when I open a big file, it shows that blender consumed my RAM and not Xorg, but after some sculpting 'Xorg' consumes RAM too.
I hope I could explain the situation well.

its a big file with 184mb size, and I just have 8gb of RAM. can't upload it here. Update: I tried many times, it's not the file, I mean just opening a file that I sculpted before doesn't fills RAM, it fills some parts of my RAM, but when I close that file, my RAM gets free again, but when I sculpt, 'Xorg' consumes RAM gradually until there it fills it, and when I close the file or even blender my RAM doesn't get free. it seems somehow a garbage collector doesn't work fine. also when I open a big file, it shows that blender consumed my RAM and not Xorg, but after some sculpting 'Xorg' consumes RAM too. I hope I could explain the situation well.
Author

any news from this?

any news from this?

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Can you see if the same happens if you reduce the amount of undo steps?
Preferences -> System -> Undo Steps

Can you see if the same happens if you reduce the amount of undo steps? `Preferences -> System -> Undo Steps`
Author

In #71866#823156, @mano-wii wrote:
Can you see if the same happens if you reduce the amount of undo steps?
Preferences -> System -> Undo Steps

Hi, I tested it, it was the default 32 undo steps, reduced it to 2, it somehow slowed rate of filling RAM, but it's still there.

> In #71866#823156, @mano-wii wrote: > Can you see if the same happens if you reduce the amount of undo steps? > `Preferences -> System -> Undo Steps` Hi, I tested it, it was the default 32 undo steps, reduced it to 2, it somehow slowed rate of filling RAM, but it's still there.

The same happens if you reduce to zero?
Could you describe the steps to reproduce the problem?

The same happens if you reduce to zero? Could you describe the steps to reproduce the problem?
Author

Blender doesn't let me to reduce it to Zero, minimum is 2.
I don't know how to reduce the problem actually, but when I reduced undo steps to 2, the amount of RAM that Xorg fills, grows more slowly than when undo steps is 32.

Blender doesn't let me to reduce it to Zero, minimum is 2. I don't know how to reduce the problem actually, but when I reduced undo steps to 2, the amount of RAM that Xorg fills, grows more slowly than when undo steps is 32.
Author

In #71866#823190, @Akov wrote:
Blender doesn't let me to reduce it to Zero, minimum is 2.
I don't know how to reduce the problem actually, but when I reduced undo steps to 2, the amount of RAM that Xorg fills, grows more slowly than when undo steps is 32.

sorry, I misunderstood your comment, read reproduce to reduce.
I just open blender and sculpt and use Dyntopo, nothing more, nothing less.

> In #71866#823190, @Akov wrote: > Blender doesn't let me to reduce it to Zero, minimum is 2. > I don't know how to reduce the problem actually, but when I reduced undo steps to 2, the amount of RAM that Xorg fills, grows more slowly than when undo steps is 32. sorry, I misunderstood your comment, read reproduce to reduce. I just open blender and sculpt and use Dyntopo, nothing more, nothing less.
Author

I changed my DE to Gnome and the problem is solved, it seems Xserver has some problems with blender!

I changed my DE to Gnome and the problem is solved, it seems Xserver has some problems with blender!

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

In this case it is even harder to know what is going on.
If necessary, I think it is better to make another report describing in detail how to reproduce the problem.
Closing this.

In this case it is even harder to know what is going on. If necessary, I think it is better to make another report describing in detail how to reproduce the problem. Closing this.
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
4 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#71866
No description provided.