Group:  Other Microsoft Office Products ยป microsoft.public.onenote
Thread: *.ONE file size issue

Geek News

*.ONE file size issue
"TERT" <SFSEF> 4/27/2007 3:26:53 PM
Hello,

Blank section has size about 9Kb.

When I embed 1.5MB file into it (excel file), it becomes 1.5MB larger. It is
just OK.

But later, when I delete that enmbedded file from section.....it still has
1.5MB. File doesnot reduce its size back to 9Kb...

Why????

Thanks!
slavo


Re: *.ONE file size issue
Ilya Koulchin <ikoulchine[ at ]hotmail.com> 4/27/2007 7:23:11 PM
TERT wrote:
[Quoted Text]
> Blank section has size about 9Kb.
>
> When I embed 1.5MB file into it (excel file), it becomes 1.5MB larger. It is
> just OK.
>
> But later, when I delete that enmbedded file from section.....it still has
> 1.5MB. File doesnot reduce its size back to 9Kb...

This has to do with how OneNote stores data internally. When OneNote
makes a change, it doesn't replace the existing content of the file, but
rather just appends the new change to the end. So when you delete
something, it isn't deleted right away, but instead a new entry is made
in the section saying that the embedded file really isn't there anymore.
Later on, OneNote will go around and optimize files when you haven't
been using your computer for a bit, which will actually remove the
unused data from the section and shrink the file size down again. You
can also trigger optimize manually from Tools->Options->Save->OptimizeNow.
If you're wondering why OneNote does things like this, it's all needed
to make seamless sharing and collaboration work well.

Ilya

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net