Copy previous settings include cache -long file transfer times #46145

Closed
opened 2015-09-17 20:07:49 +02:00 by Ejner Fergo · 8 comments

System Information
Linux 64bit

Blender Version
2.76-RC1

Short description of error
Just downloaded Blender 2.76-RC1 and wanted to copy previous settings. It took a very long time (NFS mounted home) so I looked in ~/.cache/blender/2.75 and found a cache dir 53GB(!) in size, that was being copied over.

  1. Why is this cache dir here in .config/blender dir, and not in /tmp?
  2. If the cache dir needs to be in the config dir, why isn't it cleaned periodically?
  3. Why is this cache dir being copied over to the new config dir?

Exact steps for others to reproduce the error
Open a new version of Blender (2.76-RC!) for the first time. Copy previous settings. Cache dir is copied over, so depending on size can take a long time.

**System Information** Linux 64bit **Blender Version** 2.76-RC1 **Short description of error** Just downloaded Blender 2.76-RC1 and wanted to copy previous settings. It took a very long time (NFS mounted home) so I looked in ~/.cache/blender/2.75 and found a cache dir 53GB(!) in size, that was being copied over. 1. Why is this cache dir here in .config/blender dir, and not in /tmp? 2. If the cache dir needs to be in the config dir, why isn't it cleaned periodically? 3. Why is this cache dir being copied over to the new config dir? **Exact steps for others to reproduce the error** Open a new version of Blender (2.76-RC!) for the first time. Copy previous settings. Cache dir is copied over, so depending on size can take a long time.
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @EjnerFergo

Added subscriber: @EjnerFergo
Aaron Carlisle self-assigned this 2015-09-18 01:53:18 +02:00
Aaron Carlisle changed title from Copy previous settings include cache to Copy previous settings include cache -long file transfer times 2015-09-18 01:54:06 +02:00
Aaron Carlisle removed their assignment 2015-09-18 01:54:06 +02:00
Member

Added subscriber: @Blendify

Added subscriber: @Blendify
Member

This happens on other platforms too. As for the questions this is useful for users who switch blender versions in the middle of a project. But users should be given the option to skip cache files

This happens on other platforms too. As for the questions this is useful for users who switch blender versions in the middle of a project. But users should be given the option to skip cache files
Author

Ok, an option would be nice.

I still don't understand why this cache dir needs to be in the config dir. Why not put it in ~/.cache (don't know the equivalent in win/osx) ? Or maybe somewhere global for multi-user environments.

Thanks for looking into this though.

Ok, an option would be nice. I still don't understand why this cache dir needs to be in the config dir. Why not put it in ~/.cache (don't know the equivalent in win/osx) ? Or maybe somewhere global for multi-user environments. Thanks for looking into this though.

Added subscriber: @mont29

Added subscriber: @mont29

Well… would rather question the mere existence of 53GBi in ~/.cache/... at all, when dealing such amount of data think you should specify project cache dir, instead of using default one. Also, not sure where does this comes from, afaik Blender does not use that path at all by default (at least, here I have no ~/.cache/Blender). I would assume you defined that path in some user preferences' paths?

Well… would rather question the mere existence of 53GBi in `~/.cache/...` at all, when dealing such amount of data think you should specify project cache dir, instead of using default one. Also, not sure where does this comes from, afaik Blender does not use that path at all by default (at least, here I have no `~/.cache/Blender`). I would assume you defined that path in some user preferences' paths?

Closed as duplicate of #46162

Closed as duplicate of #46162
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#46145
No description provided.