BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DbSwing on PostreSql (Urgent)

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder DB Swing
View previous topic :: View next topic  
Author Message
Ahmet
Guest





PostPosted: Mon Sep 20, 2004 10:06 am    Post subject: DbSwing on PostreSql (Urgent) Reply with 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.

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





PostPosted: Mon Sep 20, 2004 12:19 pm    Post subject: Re: DbSwing on PostreSql (Urgent) Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder DB Swing All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.