Book a Demo

Author Topic: Memory allocation issue in 32 bit EA  (Read 4500 times)

ea0921

  • EA User
  • **
  • Posts: 104
  • Karma: +0/-1
    • View Profile
Memory allocation issue in 32 bit EA
« on: December 30, 2022, 12:07:50 am »
I am trying to connect to multiple file repositories/ mysql repositories at the same time in Enterprise architect. Since, too many connections are being created the application is crashing and providing an out of memory error. In 32 bit EA application after around 10-15 connections are established after that if we try to establish another connection this issue occurs.

Is there any way in enterprise architect to configure the memory space allocation?

wivel

  • EA User
  • **
  • Posts: 243
  • Karma: +12/-1
  • Driven by Models
    • View Profile
Re: Memory allocation issue in 32 bit EA
« Reply #1 on: December 30, 2022, 01:11:25 am »
Hi

I'm curious to know why you have the need to connect to 10+ repositories at the same time?

Henrik 

ea0921

  • EA User
  • **
  • Posts: 104
  • Karma: +0/-1
    • View Profile
Re: Memory allocation issue in 32 bit EA
« Reply #2 on: December 30, 2022, 04:01:00 am »
I have a windows service running and maintaining connection pool to multiple EA projects at the same time, and a set of operations are performed on the basis of user input. And same connection is being reused since opening and closing the connection to EA repository is a costly operation. Hence, the number of connections needed at a time are higher.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Memory allocation issue in 32 bit EA
« Reply #3 on: December 30, 2022, 04:59:06 am »
Scratching my head a bit. EA has only one Open (well, two, but they are similar) and that allows only one repo to be open. How can you have multiple open the same time? You need a couple of independent threads, right?

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Memory allocation issue in 32 bit EA
« Reply #4 on: December 30, 2022, 09:55:59 am »
You need a couple of independent threads, right?

q.
Not necesarrily, you can also create multiple instances of the EA.Repository (and thus spin up multiple EA.exe applications)

Anyhow, you are using EA in a way that is was not built for. I'm not sure if there's anything you can do about that.

You might want to explain your use case, and maybe we can help think of alternative aproaches.

Geert