Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: lvantine on July 08, 2010, 04:44:20 am

Title: Out of Memory
Post by: lvantine 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?
Title: Re: Out of Memory
Post by: Geert Bellekens 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
Title: Re: Out of Memory
Post by: philchudley 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
Title: Re: Out of Memory
Post by: lvantine 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.
Title: Re: Out of Memory
Post by: Geert Bellekens 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
Title: Re: Out of Memory
Post by: sidswami 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.