[ https://issues.apache.org/jira/browse/DIRSERVER-731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny updated DIRSERVER-731: ---------------------------------------- Component/s: ldap backend asn1 > Streaming big objects > --------------------- > > Key: DIRSERVER-731 > URL: https://issues.apache.org/jira/browse/DIRSERVER-731 > Project: Directory ApacheDS > Issue Type: Improvement > Components: asn1, backend, ldap > Reporter: Emmanuel Lecharny > Priority: Critical > Fix For: 2.0.0-RC2 > > > We really need to implement a streming of big objects, like JpegPhoto, > otherwise the server can be killed trying to manage them. > The problem is that they are stored entirely in memory, and this is not an > option for megabytes of data in a JVM. We should find a way to work with MINA > to send bytes on the fly (for instance by packets of 8kb). The very same when > we receive huge data : we should store them somwhere on the disk instead of > creating a byte[] large enough to store the data. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org For additional commands, e-mail: dev-h...@directory.apache.org