Wednesday, March 7, 2012

Connection to database takes up alot of memory in application

Hi all, I was just wonder what the normal memory consumption is when just simply making a connection to a database. I have an application that starts, and when it connects the to a database, it eats up around a 1.5 MB, yes I keep the connection open for the life of the application (as its in a kinda global class, and when database reads/writes are performed I just get the open connection object) - I don't run any queries against the database here, just connect.

Is this a normal amount of memory to consume on a simple connection to a database?

Tryst

Sounds normal to me, that’s about the size of SQL Mobile binaries and they need to be loaded in order to do anything with SQL Mobile including simple connection.

No comments:

Post a Comment