[jboss-jira] [JBoss JIRA] Commented: (JBPORTAL-1618) Change ContentImpl to hold a pointer to a stream, not a byte array
Julien Viet (JIRA)
jira-events at lists.jboss.org
Tue Jul 31 17:40:00 EDT 2007
[ http://jira.jboss.com/jira/browse/JBPORTAL-1618?page=comments#action_12370618 ]
Julien Viet commented on JBPORTAL-1618:
---------------------------------------
Do we have obvious use case that it eats a lot of memory the VM ?
Writing/reading a file on the filesystem will be also a bottleneck in the scalability side.
> Change ContentImpl to hold a pointer to a stream, not a byte array
> ------------------------------------------------------------------
>
> Key: JBPORTAL-1618
> URL: http://jira.jboss.com/jira/browse/JBPORTAL-1618
> Project: JBoss Portal
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Portal CMS
> Affects Versions: 2.4.1 SP1, 2.6.1 Final
> Reporter: Mike Millson
> Assigned To: Sohil Shah
>
> ContentImpl currently stores content as a byte array. This consumes memory as the Content object is passed around the JVM. Consider storing the content as a tempory file on the filesystem until the stream is sent.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list