db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grégoire Dubois <gregoire.dub...@online.fr>
Subject Re: BLOB : java.lang.OutOfMemoryError
Date Wed, 31 Aug 2005 14:54:20 GMT
Thank you for your answer.

Can I propose my services for this developpement? Being able to write
big BLOBs in the Derby through the JDBC driver is a very very important
behavior for me.

As Derby supports BLOBs with a capacity of max 2Gb, and knowing that
almost nobody has got a computer with more than 2Gb RAM, is there an
other way to write big BLOBs in the Derby ?

Thank you very much.

Le mercredi 31 août 2005 à 07:23 -0700, Kathey Marsden a écrit :
> Grégoire Dubois wrote:
> >Hi all,
> >
> >I'm using the org.apache.derby.jdbc.ClientDriver driver to access the
> >Derby database through network.
> >
> >Writting small files (smaller than 5Mo) into the database works fine,
> >but I can't write big files (40Mo for example), without getting the
> >exception java.lang.OutOfMemoryError.
> >
> >I think the driver is writting all the file into memory before sending
> >it to the database. Is that a known issue? Is there a plan to improve
> >this?
> >
> >  
> >
> This is DERBY-326.  There  is not currently a developer assigned to this
> issue.  Right now you would just have to increase the maximum heap size
> of the jvm with    -Xmx<size>
> Right now this is logged as an improvement but perhaps it would make
> sense for you to log a Bug for your specific case and OutOfMemory error 
> and link it to this isssue.  Then vote in Jira to have it fixed.
> Kathey

View raw message