Author Topic: Out of memory importing XMI file  (Read 3993 times)

abcoates

  • EA Novice
  • *
  • Posts: 17
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Out of memory importing XMI file
« on: December 18, 2004, 04:49:31 pm »
I am using EA 4.10.736 Enterprise.  I am trying to import an XMI file into EA, albeit a large one: 280M.  EA runs out of memory during the import, but while only using a fraction of the available memory (PC has 1G RAM).

Is there any way to increase the memory available to EA?  I really need to be able to work with big models, and this is a real blocker.  Thanks very much in advance,

Cheers, Tony.

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Re: Out of memory importing XMI file
« Reply #1 on: December 19, 2004, 04:43:50 am »
280mb? are you modeling windows? ;D
Recursion definition:
If you don’t understand the definition read "Recursion definition".

abcoates

  • EA Novice
  • *
  • Posts: 17
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: Out of memory importing XMI file
« Reply #2 on: December 19, 2004, 01:39:24 pm »
I must confess that I generated the XMI, and I made something of an algorithmic error in enumerating the associations.  Once I fixed the bug, the size reduced from 280M to 1M.

That said, what I should have seen was a duplicate ID error, as many of the XMI IDs were repeated multiple times.  The out of memory error was a problem, because it masked the real issue, so it took that much longer to resolve.

Cheers, Tony.

cherisse

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Out of memory importing XMI file
« Reply #3 on: January 07, 2005, 03:51:30 am »
I have the same issue (> 200 MB XMI file), we are using EA to model "configurations" to our system.  One of our developers wrote a program to generate the XMI...  These configurations have many parameters for the "attributes" for which we are using tags.  Potentially we are being too wordy in our XMI, but in the end we had to slit apart the XMI (which then gave us many issues with the associations).  

But even when we split apart the XMI we got the Out of memory error for a 10 MB file.  

Any suggestions?

thomaskilian

  • Guest
Re: Out of memory importing XMI file
« Reply #4 on: January 07, 2005, 04:34:27 am »
Just before disturbing Sparx support. Can you open the XMI with say IE without problems (guess this may take several hours with 200 MB)?

cherisse

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Out of memory importing XMI file
« Reply #5 on: January 07, 2005, 07:08:38 am »
You get instant information when you open in IE, but it does take an hour or so to open completely.  But it does open.  EA ran the file overnight and then crashed.  I did send it into support (who have been wonderful) but just hadn't heard back yet...