Bug 142588

Summary: Umbrello takes too much time opening a file
Product: [Applications] umbrello Reporter: Imobach González Sosa <imobachgs>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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