![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a stand alone Java application that uses MS SQL Server 2000 and Microsoft JDBC ODBC drivers to access it. Before I run the application, I open the task Manager to monitor the memory used by the SQL Server. Generally it begins 21 MB and very soon it reaches around 100 MB if I do some operations in the application. The thing is that even if I close the application, the memory taken by SQL Server doesn't go down. What could be the reason behind it? Java code or MD drivers or SQL Server? I checked the code and we are closing the statements and result set and commiting everywhere. Please let me know...I am trying to refactor as much as I can but still out of luck. |
#3
| |||
| |||
|
#4
| |||
| |||
|
#5
| |||
| |||
|
|
If that is the thing then is there a way to keep the memory of SQL server down? Any settings in the SQL server or any code to clear the buffer? The reason is that if the machine or SQL server isn't started for few days on a machine, SQL server tends to take more than 200 MB of memory which slows down the computer. (Wonder why no one else complains of this memory issue on the net) |
#6
| |||
| |||
|
|
If that is the thing then is there a way to keep the memory of SQL server down? Any settings in the SQL server or any code to clear the buffer? The reason is that if the machine or SQL server isn't started for few days on a machine, SQL server tends to take more than 200 MB of memory which slows down the computer. (Wonder why no one else complains of this memory issue on the net) |
#7
| |||
| |||
|
#8
| |||
| |||
|
|
This is a stand alone java application using the stand alone sql server (actually MSDE for the end users) that is resident on their PCs. So 200 MB is a lot if only one user is connected to it. I will try to change the settings and will see what happens. |
#9
| |||
| |||
|
#10
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |