[Discussion] Fixing leaks

Status
Not open for further replies.
Junior Spellweaver
Joined
Apr 18, 2009
Messages
171
Reaction score
4
What if we added a ps.close(); in every .java file?
Could this possibly fix most memory leaks?
Just an idea, post what you think.

Flame if you want, it's just an idea
 
Dead & gone...
Joined
Aug 22, 2008
Messages
269
Reaction score
5
EVERY java file? Okay, go ahead & waste your time and then get hit with 300 compile errors.
 
Upvote 0
Custom Title Activated
Loyal Member
Joined
Apr 29, 2008
Messages
1,297
Reaction score
509
What if we added a ps.close(); in every .java file?
Could this possibly fix most memory leaks?
Just an idea, post what you think.

Flame if you want, it's just an idea

99% of all Prepared Statement were closed unless you add one yourself.
And not all the major one / all java files use Prepared Statement
 
Upvote 0
Status
Not open for further replies.