Bug 142588 - Umbrello takes too much time opening a file
Summary: Umbrello takes too much time opening a file
Status: RESOLVED WORKSFORME
Alias: None
Product: umbrello
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-06 10:06 UTC by Imobach González Sosa
Modified: 2007-03-06 22:33 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Imobach González Sosa 2007-03-06 10:06:25 UTC
Version:           1.5.61 (using KDE KDE 3.5.6)
Installed from:    Ubuntu Packages
Compiler:          gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
OS:                Linux

I created an XMI file with Umbrello 1.5.6 (using Kubuntu's packages). Later, I opened it using umbrello 1.5.61 (compiled from sources) and it shows a dozen of messages like this one in the console:

umbrello: Stereotype folder(id=2) already exists with id=folder

The file is opened at last, but take about a minute (using and Intel Pentium D 2.80GHz). It eats all the CPU (100%) and I've got the same result using both versions (1.5.6 and 1.5.61).

Moreover, working with this file is hard because umbrello feels sluggish.

Thanks in advance.
Comment 1 Imobach González Sosa 2007-03-06 10:15:14 UTC
I've noticed that the XMI file is too heavy: 3MBytes seems to much for some classes.

So I opened the file with a text editor and I saw a lot of lines like this:

<UML:Stereotype isSpecification="false" isLeaf="false" visibility="public" namespace="m1" xmi.id="2" isRoot="false" isAbstract="false" name="folder" />

I deleted those lines an it seems to work pretty fine now.

Anyway, I've got no idea of how I got that huge file.
Comment 2 Oliver Kellogg 2007-03-06 22:33:03 UTC
> I deleted those lines an it seems to work pretty fine now. 

Should work with 1.5.61.
Please reopen in case you continue to get duplications with 1.5.61