[
http://issues.apache.org/jira/browse/DERBY-1535?page=comments#action_12423134 ]
Sunitha Kambhampati commented on DERBY-1535:
--------------------------------------------
Hi Tomohito, Thanks for looking into this issue.
I noticed, there are some differences in the master file for server and the
embedded as you mention in the earlier comment.
---------------------------------------------
[EMAIL
PROTECTED]:~/derby/dev/trunk/java/testing/org/apache/derbyTesting/functionTests/master$
diff parameterMapping.out DerbyNetClient/parameterMapping.out
<snip>
1823,1826c1354,1357
< setBinaryStream() IC JDBC MATCH (INVALID)
< setBinaryStream() as batch IC JDBC MATCH (INVALID)
< setBinaryStream(null) IC JDBC MATCH (INVALID)
< setBinaryStream(null) as batch IC JDBC MATCH (INVALID)
---
> setBinaryStream() getString=EncodedString: > 33347 51966 50 32 32 32 32 32 32
> 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
> 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 <
> was null false CLOUD EXT (OK)
> setBinaryStream() as batch getString=EncodedString: > 33347 51966 50 32 32 32
> 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
> 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
> 32 32 < was null false CLOUD EXT (OK)
> setBinaryStream(null) getString=null was null true CLOUD EXT (OK)
> setBinaryStream(null) as batch getString=null was null true CLOUD EXT (OK)
---------------------------------------------------
Now with the recent patch to this issue, the first two lines in server are
similar to the embedded. But the output in case of setBinaryStream(null) is
still different from the embedded case. as before.
Embedded has this
< setBinaryStream(null) IC JDBC MATCH (INVALID)
< setBinaryStream(null) as batch IC JDBC MATCH (INVALID)
and Server has
> setBinaryStream(null) getString=null was null true CLOUD EXT (OK)
> setBinaryStream(null) as batch getString=null was null true CLOUD EXT (OK)
Do we also have some other existing issue here ? Can you help me understand
this difference in behavior. Thanks.
> 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