Login | Register
My pages Projects Community openCollabNet

Discussions > users > 22 MB of junk resolved ToDos in my project!

argouml
Discussion topic

Back to topic list

22 MB of junk resolved ToDos in my project!

Author tfmorris
Full name Tom Morris
Date 2005-05-18 23:44:46 PDT
Message I never could figure out why ArgoUML thought it need over 300 MB to deal
with a diagram of less than 35 classes. I think I may have finally figured
it out. I unzipped the .zargo for my project and was poking around in the
contents when I discovered a 22 MB .todo file. Since I only have 65 ToDos,
including both those I created and those created by the "critics," this
seemed a bit excessive.

Investigating further showed that my 65 visible ToDos were followed by
almost half a million lines of XML representing over 100,000 ToDos in the
<resolvedcritics> section. It took a while to figure out how to get rid of
them since they apparently hang around in ArgoUML's memory and get written
out again even if you create a completely empty new project. Finally by
turning off the option to load the last saved project and imported a naked
.xmi file, I was able to get a clean save.

Memory usage for my 34 class project dropped from 324 MB (!!!) to 44 MB.
Considering that ArgoUML takes 31 MB with no project loaded, that's really
the difference between 293 MB and 7 MB or over a factor of 40.

Where are do these "resolved critics" come from and why is this cruft kept
around invisibly polluting the project files and crippling performance? Of
the 103,144 entries, about 2/3 seem to be CrNoInstanceVariables and the
remainder CrUnconventionalClassName, but neither of those conditions ever
applied to anything in the current UML diagram. Is this left over from some
long past experiment that's been carried forward to every new project since
then?

I guess it's my own fault for not investigating in earnest earlier, but it
definitely makes me grind my teeth thinking about all the wasted time
waiting for the system to finish paging.

Tom

« Previous message in topic | 1 of 6 | Next message in topic »

Messages

Show all messages in topic

22 MB of junk resolved ToDos in my project! tfmorris Tom Morris 2005-05-18 23:44:46 PDT
     Re: [argouml-users] 22 MB of junk resolved ToDos in my project! bobtarling Bob Tarling 2005-05-19 03:34:31 PDT
         RE: [argouml-users] 22 MB of junk resolved ToDos in my project! Tom Morris <tmorris at nh dot ultranet dot com> Tom Morris <tmorris at nh dot ultranet dot com> 2005-05-19 10:26:58 PDT
             Re: [argouml-users] 22 MB of junk resolved ToDos in my project! bobtarling Bob Tarling 2005-05-19 10:46:16 PDT
             RE: [argouml-users] 22 MB of junk resolved ToDos in my project! Tom Morris <tmorris at nh dot ultranet dot com> Tom Morris <tmorris at nh dot ultranet dot com> 2005-05-19 11:13:16 PDT
                 Re: [argouml-users] 22 MB of junk resolved ToDos in my project! bobtarling Bob Tarling 2005-05-20 01:44:11 PDT
Messages per page: