Book a Demo

Author Topic: EA freezes on importing source directory  (Read 4677 times)

doh73

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
EA freezes on importing source directory
« on: July 23, 2012, 04:25:52 pm »
Hello,

I'm evaluating EA and got an issue with importing many source files using "Import Source Directory". The Version I'm using is 9.3.934 (Build 934).

The directory I try to import contains a Visual-Studio 2008 Project with about 9000 VB .NET Files (Forms, DataLayer etc.).

The import starts fine, after some minutes however EA keeps loading the files slower and slower (10 sec per file). After 30-40 Minutes of importing about 50% of the files I canceled the import. EA does final actions, like layouting the generated diagrams, additional 5 Minutes.

I repeated this scenario on different PCs, one being a AMD Quad-Core with 6 GB RAM (Win 7 x64), the other 1 Core and 1.5 GB RAM (Win 7, x86) - the same results. On one occasion the whole PC freezed with 100% CPU (the Quad-Core), forcing me to hit the Reset-Button after 10 minutes of freezing.

There are no AddIns installed, pure out of the box Setup.

How can I import large VS-Projects, without freezing my Computer or waiting for 1 Hour?

Thank you.

Regards
d'oh!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: EA freezes on importing source directory
« Reply #1 on: July 23, 2012, 05:02:25 pm »
Have you tried cutting up the import into smaller parts (selecting (sub) directories with less files)
Or do you really have 9000 files in one single directory? In that case:  :o

In any case, you should report it to Sparx

Geert

doh73

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: EA freezes on importing source directory
« Reply #2 on: July 23, 2012, 09:28:04 pm »
Thanks for yout fast reply.

I will try to import smaller parts. I'm wondering: can this be done, without losing any information or references between classes or the like, especially for the generated diagrams?

I will report the outcome of my test.

Ralf

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: EA freezes on importing source directory
« Reply #3 on: July 23, 2012, 09:43:11 pm »
It should.

Geert

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: EA freezes on importing source directory
« Reply #4 on: July 24, 2012, 08:09:56 am »
First thing to do is turn of creation of diagrams for each package. You'll find things progress much quicker once you've done that, and generally those diagrams aren't going to be very useful anyway.

It will still slow down the bigger the import, but not by as much.

doh73

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: EA freezes on importing source directory
« Reply #5 on: July 24, 2012, 04:35:30 pm »
Thanks for the hints.

It seems, that importing smaller parts did the trick. It lastet about 2-3 hours, but it finished ok. Deactivating diagram generation speeded up the import a bit more.

Anyway, I do have to import only once, so that's ok.  :)

Thanks again.
Ralf