# EF2 extension size limit?

**URL:** <https://community.dynatrace.com/t/ef2-extension-size-limit/48289>\
**Category:** Extensions\
**Tags:** extensions\
**Created:** [October 11, 2024, 11:03pm UTC](https://community.dynatrace.com/t/ef2-extension-size-limit/48289 "2024-10-11T23:03:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [October 11, 2024, 11:03pm UTC](https://community.dynatrace.com/t/ef2-extension-size-limit/48289/1 "2024-10-11T23:03:36Z")

</div>

I’m converting an EF1 extension that has an ibm\_db dependency. It has a payload of about 41 MB.

When I build it in VS Code, I get a cryptic message:

```markup
{
  "code": 503,
  "message": "We've run into technical difficulties. Don't worry though - your data is secure and we've logged this issue. Please try again in 5 minutes."
}

```

When I build it by hand, I can generate a valid 41.2 MB file. But when I try to upload it manually, I get an error stating there’s a 25 MB limit:

 ![AntonioSousa_0-1728687706749.png](https://global.discourse-cdn.com/dynatrace/original/3X/0/1/0147683d96b0b643f118fc6edfb76eda6b3b2b2a.png)

This limit is defined in [About Extensions — Dynatrace Docs](https://docs.dynatrace.com/docs/extend-dynatrace/extensions20/extensions-concepts)

But this was not a limit factor in EF1. How can we rise this limit?

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [October 13, 2024, 7:05pm UTC](https://community.dynatrace.com/t/ef2-extension-size-limit/48289/2 "2024-10-13T19:05:33Z")

</div>

You cannot raise it on your own, I’m not sure if this can be raised by support.

If you need to connect to a DB2, maybe you can use the approach the [IBM i extension](https://www.dynatrace.com/hub/detail/ibm-i/)&nbsp;does - using pyodbc. I’m not 100% sure if the IBM i DB2 has the same protocol, but I think yes.  
Just curious, due to my extensive Netcool experience, what sort of Netcool integration does the extension do?

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [October 13, 2024, 7:24pm UTC](https://community.dynatrace.com/t/ef2-extension-size-limit/48289/3 "2024-10-13T19:24:15Z")

</div>

[@Julius\_Loman](https://community.dynatrace.com/user/3364),

Unfortunately, what it does is under an NDA, so I can’t publicly talk about it…

---

<div class="post-metadata">

**Author:** ![Mike\_L](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/mike_l/32/11717_2.png) [@Mike\_L](https://community.dynatrace.com/u/Mike_L)\
**Post date:** [October 13, 2024, 9:17pm UTC](https://community.dynatrace.com/t/ef2-extension-size-limit/48289/4 "2024-10-13T21:17:29Z")

</div>

I think our R&D did tests up to 50mb, but in the end settled on 25mb being the number where we can guarantee the network performance of the clusters, OAs and AGs. If you raise a support ticket they can maybe increase it for a specific cluster/environment.

If not you can also maybe drop the large library manually on the server and use importlib.

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [October 13, 2024, 9:51pm UTC](https://community.dynatrace.com/t/ef2-extension-size-limit/48289/5 "2024-10-13T21:51:13Z")

</div>

[@Mike\_L](https://community.dynatrace.com/user/11520),

EF1 extensions were able to have 50 MB.  
I wouldn’t want to start hacking EF2 for something that worked before.

Have submitted support ticket #387206
