G
Guest
Hello ALL!
We are getting killed by a customer because of this...
..NET 1.1 SP2
Server 2003 SP1
MS Provider for Oracle
Oracle 9.1.0.4
Program runs fine for days at a time and then intermittently we receive
this exception:
System.NullReferenceException: Object reference not set to an instance
of an object. at Data.OracleClient.DBObjectPool.GetObject(Object
owningObject, Boolean& isInTransaction) at
System.Data.OracleClient.OracleConnectionPoolManager.GetPooledConnection(String
encryptedConnectionString, OracleConnectionString options,
OracleConnection owningObject, Boolean& isInTransaction) ...
System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
At this point we see one of two things happen.
1. We are able to get connections for a short period and during this
period 'Mem Usage' of our app starts sky rocketing up... starts around
40MB'. Eventually we start getting timeouts from the pool manager. At
this point they need to restart the app, 'Mem Usage' is then usually
well over 100MB
2. We immediately start getting timeouts from the pool manager. At this
point they need to restart the app.
Note: From Oracle side we never show more then 3-4 connections.
Any thoughts here? I have seen many people with same situation...
Our current plan is to dynamically modify the connection string to
create a new connection pool once we trap this exception... This code
is in test preparing to move into production... I will post back if
this works...
All connections are being disposed in a try catch finally block! The
system will run for days at a time not leaking memory or connections!
Handling 1000's of transactions a day. Intermittently we then get this
exception.
Thanks in advance!
We are getting killed by a customer because of this...
..NET 1.1 SP2
Server 2003 SP1
MS Provider for Oracle
Oracle 9.1.0.4
Program runs fine for days at a time and then intermittently we receive
this exception:
System.NullReferenceException: Object reference not set to an instance
of an object. at Data.OracleClient.DBObjectPool.GetObject(Object
owningObject, Boolean& isInTransaction) at
System.Data.OracleClient.OracleConnectionPoolManager.GetPooledConnection(String
encryptedConnectionString, OracleConnectionString options,
OracleConnection owningObject, Boolean& isInTransaction) ...
System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
At this point we see one of two things happen.
1. We are able to get connections for a short period and during this
period 'Mem Usage' of our app starts sky rocketing up... starts around
40MB'. Eventually we start getting timeouts from the pool manager. At
this point they need to restart the app, 'Mem Usage' is then usually
well over 100MB
2. We immediately start getting timeouts from the pool manager. At this
point they need to restart the app.
Note: From Oracle side we never show more then 3-4 connections.
Any thoughts here? I have seen many people with same situation...
Our current plan is to dynamically modify the connection string to
create a new connection pool once we trap this exception... This code
is in test preparing to move into production... I will post back if
this works...
All connections are being disposed in a try catch finally block! The
system will run for days at a time not leaking memory or connections!
Handling 1000's of transactions a day. Intermittently we then get this
exception.
Thanks in advance!