incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "caribbean410" <>
Subject RE: java.lang.OutofMemoryerror: Java heap space
Date Tue, 15 Jun 2010 16:09:14 GMT
Sorry, the record size should be 5KB not 5MB. Coz 4KB is still OK. I will
try Benjamin's suggestion.

-----Original Message-----
From: Jonathan Ellis [] 
Sent: Tuesday, June 15, 2010 8:09 AM
Subject: Re: java.lang.OutofMemoryerror: Java heap space

if you are reading 500MB per thrift request from each of 3 threads,
then yes, simple arithmetic indicates that 1GB heap is not enough.

On Mon, Jun 14, 2010 at 6:13 PM, Caribbean410 <>
> Hi,
> I wrote 200k records to db with each record 5MB. Get this error when I
> 3 threads (each thread tries to read 200k record totally, 100 records a
> time) to read data from db. The write is OK, the error comes from read.
> Right now the Xmx of JVM is 1GB. I changed it to 2GB, still not working.
> the record size is under 4K, I will not get this error. Any clues to avoid
> this error?
> Thx

Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support

View raw message