[Uml-devel] [Bug 74242] New: importing C++ code takes enormous amounts of memory

Boudewijn Rempt boud at rempt.xs4all.nl
Thu Feb 5 07:22:19 UTC 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=74242      
           Summary: importing C++ code takes enormous amounts of memory
           Product: umbrello
           Version: 1.2
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: umbrello-devel at kde.org
        ReportedBy: boud at rempt.xs4all.nl


Version:           1.2 (using KDE 3.2.0, SuSE)
Compiler:          gcc version 3.3 20030226 (prerelease) (SuSE Linux)
OS:          Linux (i686) release 2.4.20-4GB-athlon

Im trying to recreate Krita's class diagram -- I lost the previous one-- and am thus trying to import everything in krita/core and subdirs into Umbrello. This quickly brings my computer to its knees, because it appears to be taking really enormous amounts of memory. After a twenty or so imports, Umbrello appears to take about 500mb; when shutting down, starting up again and loading the file, that's down to 50 MB or so.

I think I can complete the task, but only by importing a few classes, shutting down, starting up, importing the next five, lather, shave, rinse, repeat... And when loading the file I get lots of warnings like this:

umbrello: WARNING:  LOAD FROM XMI: MISSING CODE DOCUMENT, plowing ahead with pre-generated one.
umbrello: WARNING:  * findCodeDocumentByID finds NO match to [cppheader2363]

umbrello: ERROR:  DANGER DANGER! DIDNT find code classfield for id:2213 corrupt code generator?
umbrello: ERROR: ERROR: cant find code classfield for ID:2213 do you have a corrupt savefile?

umbrello: ERROR: ERROR! corrupt save file? cant get proper UMLRole for codeparameter:2191 w/role_id:0

And that makes me a little uneasy.




More information about the umbrello-devel mailing list