[Uml-devel] [Bug 274718] Huge Save File

Kip kip at thevertigo.com
Sat Jul 2 22:47:31 UTC 2011


https://bugs.kde.org/show_bug.cgi?id=274718





--- Comment #3 from Kip <kip thevertigo com>  2011-07-02 22:47:31 ---
Hey Oliver, yes, I've seen and tried that. That managed remove the bulk of it.
I don't know how that binary junk got in there, but thankfully it's gone.

I seem to have identified another problem massively contributing to bloated
save files. A friend of mine sent me a project file that I already had, but he
had made some minor changes, saved, and then emailed the project file to me. I
noticed his was only 1 MB, whereas mine was 3.4 MB. When I opened his and
resaved it, it then bloated to 7.4 MB. It stayed at 7.4 MB if I kept resaving.

I took a look at a diff between his project and mine, since we hadn't really
changed much, and I saw the following...

The end of his project file contained:
  (...)
  </listview>
  <codegeneration>
   <codegenerator language="C++"/>
  </codegeneration>
 </XMI.extensions>
</XMI>

In mine on the other hand, sandwiched between the codegeneration tags is 47007
lines of code generator elements...

(...)
  </listview>
  <codegeneration>
   <codegenerator language="C++">
(...)
    <classifiercodedocument package="Logical View" fileExt=".h"
parent_class="jodyPkDFUDsT" id="cppheaderjodyPkDFUDsT" fileName="const_char_"
writeOutCode="true">
     <textblocks/>
     <header>
      <codecomment tag=""/>
     </header>
     <classfields/>
    </classifiercodedocument>
   </codegenerator>
  </codegeneration>
 </XMI.extensions>
</XMI>

Either he and I have different Umbrello configuration settings or Umbrello has
a bug where it's inserting the code generator output. If the former, where do I
disable this?

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the umbrello-devel mailing list