Alex Guo

Greenhorn
+ Follow
since Feb 05, 2000
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Alex Guo

I am wondering what I shall do if I want to collect garbage on time so that the application won't run out of memory. I think it's very important for a software product to sustain stress test.
In the methods, do I need to set variables to null before leaving? or those variables are automatically discarded and the corresponding referenced objects will be garbage collected(later)? Is there any other thing I shall do for this?
Thanks!
21 years ago
You can create mutiple statements from one connection.
But from the point of view of data integrity, you'd better synchronize the usage
of connection. Also another important issue is do NOT forget to close your
statements generated by connection. Otherwise each statement will occupy
an open cursor in database and soon your application will fail!