Author Topic: Get all latest - out of memory error  (Read 7753 times)

harold-esa

  • EA Novice
  • *
  • Posts: 1
  • Karma: +1/-0
    • View Profile
Get all latest - out of memory error
« on: September 14, 2016, 06:11:23 pm »
I am using subversion and EA 12.0.1208.
Each user has a local copy of the .eap-file, versioning is done by SubVersion.
When I do a "Get all latest" a message appears Out of memory.
Next a window appears with the title "Import package from XMI".
EA hangs and the only thing left to do is to kill the EA-process.

I have not been able to find a workaround, e.g. I have tried getting individual packages.


Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13380
  • Karma: +563/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Get all latest - out of memory error
« Reply #1 on: September 14, 2016, 06:22:43 pm »
Best report this to support. They will surely be able to help you out.

Geert

quadrabyte

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Get all latest - out of memory error
« Reply #2 on: April 01, 2017, 03:24:33 am »
Although this thread is a little long in the tooth, I wanted to reply because I have been frustrated by this problem with Visual Studio (ever since upgrading to a newer version caused this error to appear) but Geert pointed me to a solution: he suggested using SharpDevelop (http://www.icsharpcode.net ) to do add-on work because it uses fewer resources. I downloaded it, installed it, opened my add-on project with it, setup EA.exe as the application to run when starting the debugger--like magic everything worked just great. So thanks, Geert, that was a great tip. The whole process took all of ten minutes.

By the way, in case other add-on developers simply cannot use SharpDevelop for one reason or another, you can still use Visual Studio to do your development, it just takes more steps:
  • Build your add-on in Visual Studio -- be sure 1) EA is closed when you do the build, and 2) that you have launched VS in administrative mode else the build will fail
  • Start EA via the File Explorer
  • Go back to VS and find the Debug | Attach to Process... menu item
  • Still in VS, set a breakpoint somewhere in the code
  • In EAinvoke your add-on and you should see processing stop at the breakpoint in VS

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13380
  • Karma: +563/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Get all latest - out of memory error
« Reply #3 on: April 01, 2017, 05:17:01 pm »
I can confirm.

I'm using sharpdevelop for about 5 or 6 years now to develop all of my add-ins. So if it's good enough for me it should be good enough for anyone.
There's one client that still has some inhouse developed add-ins and that require me to use VS, and I must admit that I've started to like Sharpdevelop more then VS by now.

+ it's free and open source, something I can only support  :D

Geert

ngong

  • EA User
  • **
  • Posts: 275
  • Karma: +2/-2
    • View Profile
Re: Get all latest - out of memory error
« Reply #4 on: June 20, 2018, 08:02:03 pm »
Geert, how is this a solution to the problem?
I am not developing any plug-in or the like. I am just getting this error a few times a day when I do "Get Latest" or "Undo Check Out" or the like with my SCC connection to PTC.
My solution so far is:
  • kill the EA app in Task Manager
  • forget the .eap file
  • reboot windows
  • re-build the .eap file from xmi packages, which are under version control by PTC - that is: Get All Latest

I also tried to repair the .eap file. This works in the first place. However, you may loose elements. I noticed the loss of inter-package connections. - silently!
« Last Edit: June 20, 2018, 08:09:54 pm by ngong »
Rolf

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13380
  • Karma: +563/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Get all latest - out of memory error
« Reply #5 on: June 20, 2018, 08:45:50 pm »
Geert, how is this a solution to the problem?

It isn't, was simply a reply to the previous post regarding Visual Studio

Geert

PS. I'm back to using Visual Studio because of some annoying issues in Sharpdevelop.