db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dag.wan...@oracle.com (Dag H. Wanvik)
Subject Re: OutOfMemoryException when executing 180,000 batches
Date Wed, 30 Nov 2011 23:26:28 GMT
Ritu <ritu.goel@tcs.com> writes:

>> Hii
> I am facing the same problem . So, is there any other way to import bulk files
> (>400mb) in Derby database.

Do you use an in-memory database as well?

> How to overcome this heap memory problem?

If you answered yes to above, you need to allocated more heap space to
the process. If you are *not* using an in-memory database (but a normal
disk based one), adding commits at intervals is a good idea.


>  Thanks
> Ritu

View raw message