Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6210547
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T06:10:43+00:00 2026-05-24T06:10:43+00:00

I am trying to understand what is going on in app written in C#.

  • 0

I am trying to understand what is going on in app written in C#. Below are several images taken from Performance Monitor. The blue line is #Bytes in all Heaps. The green line is Large Object Heap Size. I start the app and log me in. The app remains idle. The first image shows that LOH increases for some reason and then drops. A pattern is very clear. What is responsible for such behavior?

enter image description here

More. I do some heavy processing starting in A (see image below) using an Oracle Database through ODP.NET. After that the app remains idle again. The LOH does not drop. Instead it keeps increasing for some reason. Note that the application is idle. It is just open in my desktop. I am not even interacting with it.

enter image description here

Memory keeps increasing (each image represents 1:15:00).

enter image description here

After more than 2 hours suddenly it decreases and after while it starts increasing/decreasing again (see below) as in the first image. All the time app is idle. What is going on? Is it a memory leak? I don’t think so. We profiled the app and couldn’t find anything. Also the LOH increases without any activity. There is no open connection with the Oracle Database. Can ODP.NET be the culprit?

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T06:10:44+00:00Added an answer on May 24, 2026 at 6:10 am

    The problem definitely is due ODP.NET. If I disable the connection pool the problem does not manifest. For each connection ODP.NET seems to create 2 threads and at 3 minutes interval (as seen in the images) ODP.NET does some housekeeping but for some reason allocates memory that are not released right away.

    It is easy to reproduce. Just create a simple app that when a button is pressed a connection to an Oracle database is open and a stored procedure is executed. You will notice the pattern of the first image. The pattern of the other images is due the number of connections created by the app.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to understand PNG format. Consider this PNG Image: The Image is taken from
I'm going a little nuts trying to understand the doc on impersonation and delegation
I'm trying to clean my app from leaks with Leak instrument. It shows me
I've been trying to update my app and get going with fragments, the action
I am trying to make a simple app from a tutorial that does not
I am trying to understand what the following code segment from tls.h in glibc
I'm trying to learn Backbone from someone else's Backbone app in combination with the
I am trying understand ViewModels deeper and I have read many articles and blogs
Trying to understand what's the correct way of implementing OpenID authentication with Spring Security.
Trying to understand the Deezer API. When I visit: http://connect.deezer.com/oauth/auth.php?app_id=MY_APP_ID&redirect_uri=http://mydomain.me&perms=basic_access I end up at

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.