 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Ahmet Guest
|
Posted: Mon Sep 20, 2004 10:06 am Post subject: DbSwing on PostreSql (Urgent) |
|
|
I have an application connecting to postgresql 7.4.2 developed under
jbuilder 9.0
and used dbswing for database access.
I am using dbDisposeMonitor to release memory that i allocated while form is
closing.
and close connection after then.
but this wont reduses memory usage and after opening same form 5,6 times
it gives memory error and fails to open form.
i think dbswing controls does not release memory allocated.
how can i release all emory used by dbswing controls ?
can anybody help me with this problem ?
best regards..
|
|
| Back to top |
|
 |
R.F. Pels Guest
|
Posted: Mon Sep 20, 2004 12:19 pm Post subject: Re: DbSwing on PostreSql (Urgent) |
|
|
Ahmet wrote:
| Quote: | I have an application connecting to postgresql 7.4.2 developed under
jbuilder 9.0 and used dbswing for database access. I am using
dbDisposeMonitor to release memory that i allocated while form
is closing. and close connection after then.
but this wont reduses memory usage and after opening same form 5,6 times
it gives memory error and fails to open form. i think dbswing controls
does not release memory allocated.
|
Destroying objects when the last reference to it is gone does not always
lead to reduction in the amount of memory the JVM uses. However, in this
case, you must make sure you close queries and connections. The best way to
accomplish that is by explicitly closing them.
--
Ruurd
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|