Author Topic: Multiple EA.exe processes running automatically in Windows 7  (Read 382 times)

ankur

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Multiple EA.exe processes running automatically in Windows 7
« on: April 05, 2019, 07:48:55 pm »
Hello,

I have a Windows 7 environment and am running EA 14 on it.

Although I have opened only 1 instance of EA (my current working respository), I see in Task Manager that multiple EA.exe processes are running automatically. Sometimes it's 1 extra EA.exe process but sometimes they are more than 5 (apart from the main EA.exe process).

I tried using TASKKILL command in a batch script to kill the rogue EA.exe processes. But I think as I don't have Administrator rights, it does not work.

It is annoying as everytime I have to run a C# code to read the Repository using EA API, I have to manually "end" the rogue EA.exe processes and execute my code quickly before the rogue EA.exe processes start again.

Please find the screenshot of recent Task Manager activity here (The rogue EA.exe processes are usually approx 27000K in size):

https://pasteboard.co/I8HAaCV.png

The same problem is occuring on a colleague's computer as well.

Has someone else encountered the same issue ? Could you please assist me with a solution or a workaround ?

Thanks in advance.

Regards,
Ankur


qwerty

  • EA Guru
  • *****
  • Posts: 10284
  • Karma: +222/-177
  • I'm no guru at all
    • View Profile
Re: Multiple EA.exe processes running automatically in Windows 7
« Reply #1 on: April 05, 2019, 08:31:54 pm »
I'd guess you just miss the final Repository.Exit()

q.

ankur

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Multiple EA.exe processes running automatically in Windows 7
« Reply #2 on: April 05, 2019, 09:06:01 pm »
Hi q,

It worked, but I had to tweak some stuff. Mabe it might be useful for others.

Past: I was opening EA Repository (.eapx file) and then read from Repository. I used EA API in Visual Studio (C# code) to read the process ID of EA.exe application. Finally, I read the Repository contents.

Now: I am using Repository.OpenFile (need to mentionexplicit .eapx file location) in my C# code in Visual Studio and at the end of execution, implementing Repository.Exit();

Thanks for the response :)

Regards,
Ankur

qwerty

  • EA Guru
  • *****
  • Posts: 10284
  • Karma: +222/-177
  • I'm no guru at all
    • View Profile
Re: Multiple EA.exe processes running automatically in Windows 7
« Reply #3 on: April 05, 2019, 11:33:05 pm »
Hard to follow with so few details. But what you do now is to open a 2nd instance of EA and terminate it at the end. An add-is is supposed to run in the current EA instance and just stop and leave the instance running. Something on what you describe sounds strange...

q.

ankur

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Multiple EA.exe processes running automatically in Windows 7
« Reply #4 on: April 06, 2019, 12:06:48 am »
Hello qwerty,

It's just a simple C# code to read the UML content in EA Repository and dump it into a specific file with some pre-formating.

As of now, we are not using any Add-in.

Regards,
Ankur

qwerty

  • EA Guru
  • *****
  • Posts: 10284
  • Karma: +222/-177
  • I'm no guru at all
    • View Profile
Re: Multiple EA.exe processes running automatically in Windows 7
« Reply #5 on: April 06, 2019, 07:04:20 am »
Sounds more like you need a stand-alone app rather than an add-in. Well, as long as it works...

q.

ankur

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Multiple EA.exe processes running automatically in Windows 7
« Reply #6 on: April 08, 2019, 06:08:32 pm »
Hello q,

You are right. Maybe a standalone application would be what we might implement in future.

Thanks for your support :)

Regards,
Ankur