# Huge memory consumption in EF2 Oracle extension

**URL:** <https://community.dynatrace.com/t/huge-memory-consumption-in-ef2-oracle-extension/52122>\
**Category:** Extensions\
**Tags:** oracle, extensions\
**Created:** [June 16, 2025, 7:48pm UTC](https://community.dynatrace.com/t/huge-memory-consumption-in-ef2-oracle-extension/52122 "2025-06-16T19:48:56Z")\
**Posts on this page:** 1\
**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:** [June 16, 2025, 7:48pm UTC](https://community.dynatrace.com/t/huge-memory-consumption-in-ef2-oracle-extension/52122/1 "2025-06-16T19:48:56Z")

</div>

I have a very simple&nbsp;EF2 Oracle extension, that is something like this (has been redacted):

```markup
name: custom:abs021
minDynatraceVersion: 1.299.0
author:
  name: Marketware
version: 0.0.5
sqlOracle:
  - group: abs021
    query: select count(*) as events_lat_30min from table
    metrics:
      - key: abs021.quantity
        value: col:events_lat_30min
        type: gauge
    interval:
      minutes: 15

```

I have two monitoring configurations, two different Oracle instances. They have been consuming around 100 MB each:

 ![AntonioSousa_0-1750103163081.png](https://global.discourse-cdn.com/dynatrace/original/3X/5/2/52773767da9a1d88697857723c622f272fea9288.png)

Is someone capable of confirming this memory need for each monitoring configuration is really needed? Is there someway to optimize this consumption?
