[ http://jira.andromda.org/browse/CORE-94?page=comments#action_12253 ]
     
Chad Brandon commented on CORE-94:
----------------------------------

Just set the pattern on your moduleSearchLocations to only include the two 
files you use:

<moduleSearchLocations>
    <location patterns="module1.xml.zip, 
module2.xml.zip">/path/to/modules</location>
</moduleSearchLocations>

> Server is creating high CPU load while waiting
> ----------------------------------------------
>
>          Key: CORE-94
>          URL: http://jira.andromda.org/browse/CORE-94
>      Project: AndroMDA Core
>         Type: Bug
>     Versions: 3.1
>  Environment: Latest SNAPSHOT
>     Reporter: Achim Hügen
>     Assignee: Chad Brandon

>
> I started the server with "maven start-andromda-server".
> While waiting for changes in the model or for a request to  generate the 
> server consumes up to 50% of my CPU power.
> The call to Engine.loadModelsIfNecessary seems to be quite expensive. Could 
> it depend on the number of profiles in the model (4, in my case)?




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php

Reply via email to