Results 1 to 4 of 4

Thread: Large Roo script generated from UML

  1. #1
    Join Date
    Dec 2010
    Posts
    7

    Default Large Roo script generated from UML

    The attached Roo script was generated from a UML model and I think its all valid, but Roo hangs when it gets to processing the attributes. Do I need to increase the memory available to Roo or something? I'm on rather limited hardware and I'd appreciate it if someone else could try the script out and see if they get the same problem.

    Richard
    Attached Files Attached Files

  2. #2
    Join Date
    Sep 2006
    Location
    Germany
    Posts
    73

    Default

    Quote Originally Posted by r.w.lincoln View Post
    Do I need to increase the memory available to Roo or something?
    Richard
    I don't think it is a memory problem. I ran your script with max java heap of 4096MB, but roo only eats 230MB. It seems you hit a limit in Roo 1.1.0. Roo eats 100% of one CPU.

    Here, the script runs now for 11 hrs and is only in the middle of the attributes. It doesn't hang, but it is very slow.

    I recommend you add a Jira ticket and attach your roo scripts as a testcase to it.

    Btw: How did you generate the roo scripts? bouml?

  3. #3
    Join Date
    Dec 2007
    Location
    Stockholm, Sweden
    Posts
    190

    Default

    wow , 11 hours. I have not dared to see the script but it sound like that it could use some separation of concerns ( every thrown in the same model/script sounds like a bad idea)

    I would be interested to know that (in a very unscientific) way, what roo script is too big. I would consider any thing which goes on for more than 10 minutes to be big (let alone an hour)
    Shahzada Hatim
    @geoaxis/twitter
    http://hatimonline.com

  4. #4
    Join Date
    Dec 2010
    Posts
    7

    Default Large Roo script generated from UML

    Quote Originally Posted by robertoschwald View Post
    Btw: How did you generate the roo scripts? bouml?
    No, I have a project that generates code from EMF Ecore models using JET2.

    http://rwl.github.com/enerate/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •