Server has a linear memory (rise proportional to polling speed) leak due to
the jdbc Field (char[] buffered) not being collected. SMSSvr.sendMessages()
needs to close ResultSet and Statement at the completion of the while loop
to resolve that issue.
What steps will reproduce the problem?
1. Start up SMSSvr
2a. Let the application run through several processing iterations
2b. Observe the survived generations over time (netbeans, jConsole)
3. Identify the highest generation object is char[] with a trace leading to
jdbc Field.
What version of the product are you using?
3.0.2
Steps to resolve:
Close the ResultSet and Statement objects inside SMSSvr.sendMessage():
while (rs.next())
{
...
}
rs.close();
cmd.close();
Original issue reported on code.google.com by shaunmur...@gmail.com on 9 Aug 2007 at 1:41
Original issue reported on code.google.com by
shaunmur...@gmail.com
on 9 Aug 2007 at 1:41