Bug 72619 - File size suddenly gets huge
Summary: File size suddenly gets huge
Status: RESOLVED DUPLICATE of bug 95924
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-14 12:06 UTC by Sean Clarke
Modified: 2004-12-28 19:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sean Clarke 2004-01-14 12:06:32 UTC
Version:            (using KDE KDE 3.1.94)
Installed from:    SuSE RPMs
OS:          Linux

Hi,
    I am now was using umbrello in anger, during usage the file size was fluctuating around 100K... I then created a few more diagrams and placed existing classes on them and enabled Java code generation (changed from C++) and I noticed umbrello behaving a little sluggishly. I checked the file size and it had lept to 2.0MB.

Seems a little odd.

I was also experiencing bug72615.

I am using Umbrello compiled from source (kdesdk-040113 ie 13/01/2004).
Comment 1 Sean Clarke 2004-01-14 12:59:22 UTC
More info...

It appears that ~90% of the size is in the codegeneration element. Inspection reveals that this has two sub elements (codegenerator) that represents the CPP and Java. the sub elements are extremely large.
Comment 2 Jonathan Riddell 2004-01-19 17:15:46 UTC
I thought there was an entry for the option of turning off code generation but I can't find it just now.

Once the active language has changed it should probably offer to delete all the code from the previous active language as that takes up a lot of disk space and memory.
Comment 3 Brian Thomas 2004-02-17 19:18:06 UTC
Yes, the XMI representation of the code generation sucks. Its far too
wordy than it need be. The implementation is "programmer efficient" rather
than "application efficient". I can think of 2 possible things to help
reduce the code generation verbiage:

One possible solution here is to replace some of the XMI code generations
elements which are repetative with ID/IDREF mechanism. An example of
a repeated element would be "codeaccessor" which occurs both under the
"codeclassfield" and "textblock" elements, but is fundementally no different.

Another angle to cutting down the size here is to NOT print out unmodified
codeblocks. At the very least, unmodifed codeblocks can be more concisely
represented than they currently are.
Comment 4 Sebastian Stein 2004-08-13 09:51:11 UTC
So it is a wish to have an option to turn off code generation or to remove the generated code. I think the problem isn't that important anymore, because we now have compressed xmi file support.
Comment 5 Oliver Kellogg 2004-12-28 19:48:12 UTC

*** This bug has been marked as a duplicate of 95924 ***