db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Andreasen <mich...@dunlops.com>
Subject Out of Memory
Date Mon, 15 May 2006 12:02:24 GMT
I am running derby in embedded mode using EmbeddedSimpleDataSource and I 
am running out of memory.

If I start with an empty, newly created database, and try to do a loop 
that just keeps inserted records, I get an out of memory error after it 
has inserted about 12,000 rows.

I am running a small application with the -Xmx8m set, when it begins 
inserting free memory is about 6m. As it runs this goes down and down 
until I get an OutOfMemory Exception.

It is as if every insert is being cached?

Any ideas?

View raw message