Book a Demo

Author Topic: Out of memory error when debuging Addin (VS 2013)  (Read 6594 times)

whitehouse

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Out of memory error when debuging Addin (VS 2013)
« on: August 11, 2015, 06:39:59 pm »
1. Create a simple AddIn
2. Start to debug -> Out of memory error happened with Sparx EA

My environment:
Sparx 12.0.1208
Win7 64
VS 2013

It doesn't happen with VS 2010

Jonathan Lubach

  • EA User
  • **
  • Posts: 40
  • Karma: +0/-0
    • View Profile
Re: Out of memory error when debuging Addin (VS 2013)
« Reply #1 on: March 29, 2016, 08:15:38 pm »
Hi together,

I have the same problem since using VS2013, with VS2010 it worked perfectly.
Directly after starting the debug session ea creates the this message "Out of memory" 3 times. After the third time, the message "Failed to create empty document" appears. After clicking "OK", EA quits.

The only alternative is to start EA separately and attach to the process with VS2013.

Any hints on this issue?

EA version 12.1.1229
Win7 64 bit
VS2013 Prof

Jonathan
Enterprise Architect Corporate Edition v12.1
Windows 7 64bit

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: Out of memory error when debuging Addin (VS 2013)
« Reply #2 on: March 29, 2016, 10:57:18 pm »
Hi,

I had the same issue. By chance I got the solution. I hope it will also work for you.

There is a settings in VS, Project, Properties, Debug:
  • Enable Native Code Debugging
Select it.

Regards,

Helmut
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)

martin1

  • EA User
  • **
  • Posts: 57
  • Karma: +0/-0
    • View Profile
Re: Out of memory error when debuging Addin (VS 2013)
« Reply #3 on: July 05, 2017, 03:48:46 pm »
Thanks for that hint :) Same in VS2015.