Author Topic: Reproducible Crashes with Scrips in 15.2  (Read 949 times)

bkone

  • EA Novice
  • *
  • Posts: 19
  • Karma: +0/-0
  • Is this real?
    • View Profile
Reproducible Crashes with Scrips in 15.2
« on: September 15, 2020, 06:36:03 pm »
Hello,

I can reproduce crashes with my scripts in 15.2.

Environment:
- EA: 15.2
- EA-Matic
- Scripts in VBScript

The scripts are triggered on events to populate data at elements or style diagram objects.
If I start EA fresh and start modeling, then after adding some elements/diagram objects it show an error message "Out of memory" and after a few more additions it crashes without further notice.

Is there a somewhere a log? Be it from EA or Windows?
Any ideas on how to narrow this down?


Best regards

Boris

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 11299
  • Karma: +421/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Reproducible Crashes with Scrips in 15.2
« Reply #1 on: September 15, 2020, 06:58:41 pm »
You can start by disabling the EA-Matic add-in.

There's a good chance one of your scripts, that is executed by EA-Matic, is causing the error.

Once you know that it is EA-Matic then you should test each script independently.
You can "disconnect" scripts from EA-Matic by removing the string "EA-Matic" from the script and opening the EA-Matic settings (or wait 5 minutes for EA-Matic to refresh the scripts automatically)

You might be lucky and find a log from EA-Matic here: %temp%\EAAddinFramework.log but often in cases like this the error cannot be caught anymore because there is no memory left to handle the error

Geert

bkone

  • EA Novice
  • *
  • Posts: 19
  • Karma: +0/-0
  • Is this real?
    • View Profile
Re: Reproducible Crashes with Scrips in 15.2
« Reply #2 on: September 15, 2020, 08:23:36 pm »
Hello Geert,

I will try this.

My last observation:
- CPU constantly at 17-18%
- RAM consumption climbs slowly (up to 1.560 MB)
- Windows kills the process due to not being reactive.


Regards

Boris