You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Jacob Lund <ja...@qualiware.com> on 2001/08/16 12:58:15 UTC

limits on filesize?

Are there any limits on the size of files uploaded to the slide server?

I get a "java.lang.OutOfMemoryError <<no stack trace available>>" when I
upload files bigger than 11 mb using Microsoft Windows explorer as a
webdav client. 

/Jacob


Re: limits on filesize?

Posted by Dirk Verbeeck <di...@pandora.be>.
Jacob Lund wrote:

> Are there any limits on the size of files uploaded to the slide server?
>
> I get a "java.lang.OutOfMemoryError <<no stack trace available>>" when I
> upload files bigger than 11 mb using Microsoft Windows explorer as a
> webdav client.
>
> /Jacob

Probably another JDBC driver issue.

Using the FileContentStore I have just uploaded a file of 188 mb with
windows explorer.

The JDBCContentStore doesn't do anything special.
If the content size in known it just gives the data stream to the database
(PreparedStatement.setBinaryStream).
If the content size is unknown it streams the data to a temp file, look at
the length and then streams the content from the temp file to the database,
no large buffers are allocated.

Maybe you can test your driver with a small test program?


Dirk