You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by bu...@apache.org on 2004/05/11 10:52:28 UTC

DO NOT REPLY [Bug 28894] New: - OutOfMemoryError posting large file

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28894>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28894

OutOfMemoryError posting large file

           Summary: OutOfMemoryError posting large file
           Product: Slide
           Version: 2.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: WebDAV Server
        AssignedTo: slide-dev@jakarta.apache.org
        ReportedBy: robert.leathley@ricardo.com


Trying to put a large file (133MB) in the store (TxFileStore) causes the JVM to
run out of memory.  Using java -Xmx500M fixes this problem, but the intention is
to transfer much larger files (>= 2GB).

This appears to be due to the server using XServletInputStream which caches the
entire file in memory to make the stream re-readable.

I may be able to spend some time creating a patch for this problem - do you have
an approach in mind for solving this?  In any case it would be good know if this
is likely to be fixed within the next month or two and if there are likely to be
other issues with files of this size.

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org