cassandra - JVM Crashed : Java Heap space -


we in process of testing cassandra, part of project save images (confidential images cannot placed on disk) directly database.

we saved 380 images of 909 mb no issues in 8 mins.

the heap size setting follows.

 max_heap_size="4g"  heap_newsize="1024m" 

the total size of table 822 mb.

the issue when try fetch 1 record runs fines, moment increase search id between 1 , 4, below error.

info  12:51:52 concurrentmarksweep gc in 228ms.  cms old gen: 172017888 ->  200306216; par eden space: 53693192 -> 30464688; par survivor space: 6681832 -> 0 java.lang.outofmemoryerror: java heap space dumping heap java_pid2548.hprof ... info  12:51:55 concurrentmarksweep gc in 452ms.  cms old gen: 200301712 -> 200301512; par eden space: 53284648 -> 52721832; heap dump file created [275541785 bytes in 2.173 secs] error 12:51:55 exception in thread thread[messagingservice-incoming-/192.168.0.46,5,main] java.lang.outofmemoryerror: java heap space         @ org.apache.cassandra.utils.bytebufferutil.read(bytebufferutil.java:350) ~[apache-cassandra-2.1.8.jar:2.1.8]         @ org.apache.cassandra.utils.bytebufferutil.readwithlength(bytebufferutil.java:311) ~[apache-cassandra-2.1.8.jar:2.1.8]         @ org.apache.cassandra.db.columnserializer.deserializecolumnbody(columnserializer.java:132) ~[apache-cassandra-2.1.8.jar:2.1.8]         @ org.apache.cassandra.db.columnserializer.deserialize(columnserializer.java:109) ~[apache-cassandra-2.1.8.jar:2.1.8]         @ org.apache.cassandra.db.columnserializer.deserialize(columnserializer.java:101) ~[apache-cassandra-2.1.8.jar:2.1.8]         @ org.apache.cassandra.db.columnfamilyserializer.deserialize(columnfamilyserializer.java:110) ~[apache-cassandra-2.1.8.jar:2.1.8]         @ org.apache.cassandra.db.columnfamilyserializer.deserialize(columnfamilyserializer.java:89) ~[apache-cassandra-2.1.8.jar:2.1.8]         @ org.apache.cassandra.db.row$rowserializer.deserialize(row.java:74) ~[apache-cassandra-2.1.8.jar:2.1.8]         @ org.apache.cassandra.db.row$rowserializer.deserialize(row.java:79) ~[apache-cassandra-2.1.8.jar:2.1.8]         @ org.apache.cassandra.db.rangeslicereply$rangeslicereplyserializer.deserialize(rangeslicereply.java:77) ~[apache-cassandra-2.1.8.jar:2.1.8]         @ org.apache.cassandra.db.rangeslicereply$rangeslicereplyserializer.deserialize(rangeslicereply.java:63) ~[apache-cassandra-2.1.8.jar:2.1.8]         @ org.apache.cassandra.net.messagein.read(messagein.java:99) ~[apache-cassandra-2.1.8.jar:2.1.8]         @ org.apache.cassandra.net.incomingtcpconnection.receivemessage(incomingtcpconnection.java:188) ~[apache-cassandra-2.1.8.jar:2.1.8]         @ org.apache.cassandra.net.incomingtcpconnection.receivemessages(incomingtcpconnection.java:170) ~[apache-cassandra-2.1.8.jar:2.1.8]         @ org.apache.cassandra.net.incomingtcpconnection.run(incomingtcpconnection.java:88) ~[apache-cassandra-2.1.8.jar:2.1.8] java.lang.outofmemoryerror: java heap space         @ org.apache.cassandra.utils.bytebufferutil.read(bytebufferutil.java:350)         @ org.apache.cassandra.utils.bytebufferutil.readwithlength(bytebufferutil.java:311)         @ org.apache.cassandra.db.columnserializer.deserializecolumnbody(columnserializer.java:132)         @ org.apache.cassandra.db.columnserializer.deserialize(columnserializer.java:109)         @ org.apache.cassandra.db.columnserializer.deserialize(columnserializer.java:101)         @ org.apache.cassandra.db.columnfamilyserializer.deserialize(columnfamilyserializer.java:110)         @ org.apache.cassandra.db.columnfamilyserializer.deserialize(columnfamilyserializer.java:89)         @ org.apache.cassandra.db.row$rowserializer.deserialize(row.java:74)         @ org.apache.cassandra.db.row$rowserializer.deserialize(row.java:79)         @ org.apache.cassandra.db.rangeslicereply$rangeslicereplyserializer.deserialize(rangeslicereply.java:77)         @ org.apache.cassandra.db.rangeslicereply$rangeslicereplyserializer.deserialize(rangeslicereply.java:63)         @ org.apache.cassandra.net.messagein.read(messagein.java:99)         @ org.apache.cassandra.net.incomingtcpconnection.receivemessage(incomingtcpconnection.java:188)         @ org.apache.cassandra.net.incomingtcpconnection.receivemessages(incomingtcpconnection.java:170)         @ org.apache.cassandra.net.incomingtcpconnection.run(incomingtcpconnection.java:88) error 12:51:56 jvm state determined unstable.  exiting forcefully due to: java.lang.outofmemoryerror: java heap space         @ org.apache.cassandra.utils.bytebufferutil.read(bytebufferutil.java:350) ~[apache-cassandra-2.1.8.jar:2.1.8]         @ org.apache.cassandra.utils.bytebufferutil.readwithlength(bytebufferutil.java:311) ~[apache-cassandra-2.1.8.jar:2.1.8]         @ org.apache.cassandra.db.columnserializer.deserializecolumnbody(columnserializer.java:132) ~[apache-cassandra-2.1.8.jar:2.1.8]         @ org.apache.cassandra.db.columnserializer.deserialize(columnserializer.java:109) ~[apache-cassandra-2.1.8.jar:2.1.8]         @ org.apache.cassandra.db.columnserializer.deserialize(columnserializer.java:101) ~[apache-cassandra-2.1.8.jar:2.1.8]         @ org.apache.cassandra.db.columnfamilyserializer.deserialize(columnfamilyserializer.java:110) ~[apache-cassandra-2.1.8.jar:2.1.8]         @ org.apache.cassandra.db.columnfamilyserializer.deserialize(columnfamilyserializer.java:89) ~[apache-cassandra-2.1.8.jar:2.1.8]         @ org.apache.cassandra.db.row$rowserializer.deserialize(row.java:74) ~[apache-cassandra-2.1.8.jar:2.1.8]         @ org.apache.cassandra.db.row$rowserializer.deserialize(row.java:79) ~[apache-cassandra-2.1.8.jar:2.1.8]         @ org.apache.cassandra.db.rangeslicereply$rangeslicereplyserializer.deserialize(rangeslicereply.java:77) ~[apache-cassandra-2.1.8.jar:2.1.8]         @ org.apache.cassandra.db.rangeslicereply$rangeslicereplyserializer.deserialize(rangeslicereply.java:63) ~[apache-cassandra-2.1.8.jar:2.1.8]         @ org.apache.cassandra.net.messagein.read(messagein.java:99) ~[apache-cassandra-2.1.8.jar:2.1.8]         @ org.apache.cassandra.net.incomingtcpconnection.receivemessage(incomingtcpconnection.java:188) ~[apache-cassandra-2.1.8.jar:2.1.8]         @ org.apache.cassandra.net.incomingtcpconnection.receivemessages(incomingtcpconnection.java:170) ~[apache-cassandra-2.1.8.jar:2.1.8]         @ org.apache.cassandra.net.incomingtcpconnection.run(incomingtcpconnection.java:88) ~[apache-cassandra-2.1.8.jar:2.1.8] info  12:51:56 concurrentmarksweep gc in 454ms.  cms old gen: 200295432 -> 73311840; par eden space: 53739520 -> 0; par survivor space: 6684672 -> 0 


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -