[ http://issues.apache.org/jira/browse/DERBY-1535?page=comments#action_12423367 ] Tomohito Nakayama commented on DERBY-1535: ------------------------------------------
Surveying the source code, it seems to have something to do with difference between PreparedStatmement.setNull and PreparedStatement.setBinaryStream(null).... I'm not sure whether we can distinguish them in drda architecture. Moreover, I came to have a question whether it is should be allowed to call setBinaryStream with null value. Existence of setNull method may implicitly indicate setXXXX method should not be called with null value. However, taking setXXXX method with null value as error would have much of impact to the existing applications ... > Trial 2 for DERBY-550, improve use of Engine from NetworkServer and reduce > memory usage > --------------------------------------------------------------------------------------- > > Key: DERBY-1535 > URL: http://issues.apache.org/jira/browse/DERBY-1535 > Project: Derby > Issue Type: Sub-task > Components: Network Server > Reporter: Tomohito Nakayama > Assigned To: Tomohito Nakayama > Attachments: DERBY-1513_1535.patch, DERBY-1513_1535_2.patch, > DERBY-1535.patch, serverMemoryUsage.xls, serverMemoryUsage_1513_1535.xls > > > Through DERBY-1513, Trial 1 for DERBY-550, > it was suggested that NetworkServer seems to use Engine inefficiently and use > too much of memory. > This task try to improve the use of Engine from NetworkServer and try to > reduce memory usage. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira