Page 1 of 1

Huge file sizes? (Is there a "rebuild project" feature?)

Posted: Fri Nov 18, 2016 10:53 am
by decon
Hi all. I was working on a project and autosaving suddenly got slowish. I checked and my file size had ballooned from 3MB (where it had been for weeks of revisions) to 350MB. Twenty minutes later, it was 700MB.

The files seem to work okay, but what on earth is happening? I don't have the disk space to withstand this!

Is there an easy "rebuild" command, where DP can create your project anew using the same soundbites, MIDI, and plugins? (That would solve both this problem and another where one or two projects are especially crash-prone for no apparent reason.)

Re: Huge file sizes? (Is there a "rebuild project" feature?)

Posted: Fri Nov 18, 2016 10:56 am
by mikehalloran

Re: Huge file sizes? (Is there a "rebuild project" feature?)

Posted: Fri Nov 18, 2016 2:19 pm
by decon
Nope. I don't use Spotify. But I *do* chronically bump up against my HD running out of space (which this problem is exacerbating, obviously).

Is there a way to open the project file up and see what all that 700MB of garbage is?

Re: Huge file sizes? (Is there a "rebuild project" feature?)

Posted: Fri Nov 18, 2016 2:56 pm
by mikehalloran
decon wrote:Nope. I don't use Spotify. But I *do* chronically bump up against my HD running out of space (which this problem is exacerbating, obviously).

Is there a way to open the project file up and see what all that 700MB of garbage is?
Yes, of course. View the files as a list and you'll see how big each component is. You may have to open a few folders to see it.

If you can't find it, make hidden files visible in Terminal and check them. Copy and paste each line, then hit the Return or Enter key.

defaults write com.apple.finder AppleShowAllFiles YES

killall Finder


To re-hide:

defaults write com.apple.finder AppleShowAllFiles NO

killall Finder

Re: Huge file sizes? (Is there a "rebuild project" feature?)

Posted: Fri Nov 18, 2016 5:53 pm
by Guitar Gaz
I turned autosave off as it was causing huge files - presumably you have checked the autosave folder in the project folder?

Re: Huge file sizes? (Is there a "rebuild project" feature?)

Posted: Fri Nov 18, 2016 7:25 pm
by decon
I am not able to get any more detail than this. The .dpdoc file itself can't be opened as a folder (to the best of my knowledge; I've tried option-clicking and all sorts of stuff), and I'm a little nervous about resource/data-fork surgery on it. As you can see the two versions I've got occupy over a GB between them—and that's *not* including audio files, autosaves, or undos; it's the actual .dpdoc files.

Image

I really wish there were a rebuild script: duplicate the project, but fresh, without the baggage of its history.

Re: Huge file sizes? (Is there a "rebuild project" feature?)

Posted: Fri Nov 18, 2016 8:25 pm
by bayswater
decon wrote: I really wish there were a rebuild script: duplicate the project, but fresh, without the baggage of its history.
You can start a new project, and use the Load command to read in parts of the original project. Try that, and see how big the new project file is after each step.

Re: Huge file sizes? (Is there a "rebuild project" feature?)

Posted: Sat Nov 19, 2016 9:13 am
by Phil O
Also, don't forget the Compact Project command.

Re: Huge file sizes? (Is there a "rebuild project" feature?)

Posted: Sun Nov 20, 2016 9:48 am
by philbrown
This doesn't directly answer your question, but I have found as I keep re-saving a project it gets bigger and bigger (more gradual than yours though!), so I occasionally swap out the latest autosave which pretty much seems to stay the same size.

Re: Huge file sizes? (Is there a "rebuild project" feature?)

Posted: Wed Nov 23, 2016 11:07 am
by doodles
what's in the file? Any VI's? VE Pro?

Re: Huge file sizes? (Is there a "rebuild project" feature?)

Posted: Thu Nov 24, 2016 6:29 am
by TinenTech
If you're doing a lot of editing on your project, maybe your Undo History is ballooning? You might save your existing project, then:

Select Edit/Undo History
Open the mini-menu, and select Flush Undo Entries Prior to Current Point...
Do a Save As...; the resulting DP project file will be noticeably smaller. And if you need to recover to an earlier point, you can open the previous version.

You could also go to your Undo Pruning preferences and make changes there so the problem doesn't persist...there are good options there.

Re: Huge file sizes? (Is there a "rebuild project" feature?)

Posted: Fri Nov 25, 2016 11:18 am
by David Polich
Also check your Soundbytes folder for unused
soundbites and delete those. I routinely merge
all non-contiguous audio tracks and tracks
with lots of punches or overdubs and then
delete all unused soundbites before closing the
session for the day.