Here's what i get....Also, I cleaned up my old attachments to the bug
report and uploaded the latest (just to be on the safe side). Here's
the URL - 
http://issues.apache.org/jira/secure/attachment/19322/MemoryTesterClient.java

-- dims

C:\junk>java com.truereq.test.axis.client.MemoryTesterClient

Total memory usage: Begin test: 3, 3 = 965 KBytes (988344)
Increase in allocation since last check = 965 KBytes (988344)
Created tree with 3 levels and 3 children at each level, total of 13

Total memory usage: Created tree = 912 KBytes (934256)
Increase in allocation since last check = -52 KBytes (-54088)

Total memory usage: Axis Serialization Start = 913 KBytes (935344)
Increase in allocation since last check = 1 KBytes (1088)

Total memory usage: Axis Serialization End - Deserialization Start = 1
MBytes (1466096)
Increase in allocation since last check = 518 KBytes (530752)

Total memory usage: Axis Deserialization End = 2 MBytes (2469576)
Increase in allocation since last check = 979 KBytes (1003480)

Total memory usage: Axis Serialization/Deserialization finished = 2
MBytes (2470664)
Increase in allocation since last check = 1 KBytes (1088)

Total memory usage: Axis Serialization/Deserialization cleanup = 2
MBytes (2149432)
Increase in allocation since last check = -313 KBytes (-321232)

Total memory usage: ObjectOutputStream Serialization. = 2 MBytes (2385776)
Increase in allocation since last check = 230 KBytes (236344)

Total memory usage: Deserialization cleanup. = 2 MBytes (2172608)
Increase in allocation since last check = -208 KBytes (-213168)


===========================================================


Created tree with 3 levels and 3 children at each level, total of 13
running axis  : .621ms
running stream: .60ms
Streaming is 561ms faster than axis, or 10 times faster.


===========================================================



Total memory usage: Begin test: 4, 3 = 2 MBytes (2141440)
Increase in allocation since last check = -30 KBytes (-31168)
Created tree with 4 levels and 3 children at each level, total of 40

Total memory usage: Created tree = 2 MBytes (2219624)
Increase in allocation since last check = 76 KBytes (78184)

Total memory usage: Axis Serialization Start = 2 MBytes (2220712)
Increase in allocation since last check = 1 KBytes (1088)

Total memory usage: Axis Serialization End - Deserialization Start = 2
MBytes (2798432)
Increase in allocation since last check = 564 KBytes (577720)

Total memory usage: Axis Deserialization End = 5 MBytes (5348680)
Increase in allocation since last check = 2 MBytes (2550248)

Total memory usage: Axis Serialization/Deserialization finished = 5
MBytes (5349768)
Increase in allocation since last check = 1 KBytes (1088)

Total memory usage: Axis Serialization/Deserialization cleanup = 4
MBytes (4655280)
Increase in allocation since last check = -678 KBytes (-694488)

Total memory usage: ObjectOutputStream Serialization. = 4 MBytes (5071512)
Increase in allocation since last check = 406 KBytes (416232)

Total memory usage: Deserialization cleanup. = 4 MBytes (4673928)
Increase in allocation since last check = -388 KBytes (-397584)


===========================================================


Created tree with 4 levels and 3 children at each level, total of 40
running axis  : .1061ms
running stream: .60ms
Streaming is 1001ms faster than axis, or 17 times faster.


===========================================================




On Thu, 17 Mar 2005 12:07:24 -0800, Peter Molettiere
<[EMAIL PROTECTED]> wrote:
> 
> On Mar 17, 2005, at 11:41 AM, Davanum Srinivas wrote:
> > Can you please post the full results?
> 
> Sure, here you go:
> 
> > Created tree with 5 levels and 3 children at each level
> >
> > Total memory usage: Created tree = 896 KBytes (917920)
> > Increase in allocation since last check = 896 KBytes (917920)
> >
> > Total memory usage: Serialized tree = 5 MBytes (5729784)
> > Increase in allocation since last check = 4 MBytes (4811864)
> >
> > Total memory usage: Deserialized tree. = 18 MBytes (19443224)
> > Increase in allocation since last check = 13 MBytes (13713440)
> >
> >
> > ===========================================================
> >
> >
> > Created tree with 5 levels and 4 children at each level
> >
> > Total memory usage: Created tree = 1 MBytes (1840416)
> > Increase in allocation since last check = -16 MBytes (-17602808)
> > - Out of Memory serializing.
> >
> > Process finished with exit code 1
> 
> --
> Peter Molettiere
> Senior Engineer
> Truereq, Inc.
> http://www.truereq.com/
> 
> 


-- 
Davanum Srinivas - http://webservices.apache.org/~dims/

Reply via email to