Book a Demo

Author Topic: Out of Memory  (Read 7560 times)

lvantine

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Out of Memory
« on: July 08, 2010, 04:44:20 am »
I am trying to load a very large Controlled Project about 187MB and get an Out Of Memory error. Is there a work around to the problem or are we going to have to move to a more scalable tool?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13453
  • Karma: +571/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Out of Memory
« Reply #1 on: July 08, 2010, 03:38:31 pm »
Ivantine,

The "Out of Memory" error must be coming from something else then the sheer size of the model.
I've seen models a lot larger load without any issues.
Some things to try:
- Do a model transfer to a fresh eap file
- Repair the eap file with MS Access
- Load the whole model from the controlled xmi files into a fresh eap file
- Ask Sparx Support for help

On the other hand, 187 is becoming quite large for an MS Access db. You might want to consider moving to a "real" database (MySQL, Oracle, MSSQL,...) once you got this sorted out.

Geert

philchudley

  • EA User
  • **
  • Posts: 745
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: Out of Memory
« Reply #2 on: July 08, 2010, 06:06:01 pm »
Hi

If you are using version 8, (or if the model is shared), then try "lazy load" to just load the structure of the model rather than the complete model.

Incidently, I also am getting "out of memory" errors when taking a Baseline at the root node of a 300,000kb local project

Cheers

Phil
Models are great!
Correct models are even greater!

lvantine

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Out of Memory
« Reply #3 on: July 08, 2010, 08:58:10 pm »
Thanks for the hint. A friend of mine recommended editing the XML of the controlled project and removing the DTD line. This prevented checking of the XML on load, this worked for me.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13453
  • Karma: +571/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Out of Memory
« Reply #4 on: July 08, 2010, 09:48:53 pm »
Whoa, do you mean you have the whole project controlled into one giant xmi file? :o
No wonder you are running into troubles.
You know you can also control on package level?

Geert

sidswami

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Out of Memory
« Reply #5 on: September 18, 2018, 03:06:37 pm »
This happened to me recently. I have 2 user accounts on the same PC and this first started to occur when I tried to open EA when both user logins were active on the machine. Even after restart and login to only one user the problem persisted.

Solution: Try Shift + Right click on the EA.exe file and run as a different user
Now provide your login and it should open.