Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: harold-esa 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.
-
Best report this to support. They will surely be able to help you out.
Geert
-
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 (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
-
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
-
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!
-
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.