On Monday 08 November 2004 23:08, Oliver Zeigermann wrote:
> Hi Nick,
>
> the resource is zipped in memory first, so with the default size of
> your JVM of 64 MB this might get a bit too big. A short term solution
> would be to give it more memory.
>
> However, as I understood Davide said he would put back the old Oracle
> adapter using classs from Oracle's JDBC driver if necessary. This
> would be the long term solution then...

The problem of oom exceptions, when compression is on, is related to the class 
StoreContentZip and is common to all the jdbc stores. We could modify 
StoreContentZip to write the content to disk when it becoms too big...

The old version of the oracle adapter zipped the stream on the fly, because 
there were no need to know the size of the compressed content (but it used 
gzip compression not zip, I don't know if it is a good idea to change the 
compression algorithm...).

-- 
Davide Savazzi

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to