Read only archive ; use https://github.com/JacORB/JacORB/issues for new issues

Bug 321

Summary: Performance problems when "CDROutputStream too large"
Product: JacORB Reporter: alexmar <alex.margaritescu>
Component: ORBAssignee: Gerald Brose <gerald.brose>
Status: RESOLVED DUPLICATE    
Severity: major CC: jesper.glintborg
Priority: P2    
Version: 1.4.1   
Hardware: PC   
OS: Windows 2000   

Description alexmar 2003-02-25 21:01:54 UTC
When transferring a large number of objects (e.g. from a server to a client), 
in one call, then, after a predefined (4M?) limit, the internal buffer used in 
CDROutputStream is being re-allocated with a very small amount, so remaining 
data will be very slowly transferred (as the buffer is reallocated each time 
with that small amount).

A minimal solution would be to increase the buffer size with - for example - 
10% , right before BufferManager.getBuffer call, in CDROutputStream#check(int) 
method.
Comment 1 Nick Cross 2003-02-26 09:38:57 UTC

*** This bug has been marked as a duplicate of 142 ***