Re: Apache Cassandra - Memory usage on server

2017-06-14 Thread Thakrar, Jayesh
ncy Percent Repaired : 100.0% Token : (invoke with -T/--tokens to see all 256 tokens) From: "ZAIDI, ASAD A" Date: Wednesday, June 14, 2017 at 6:23 PM To: "user@cassandra.apache.org" Subject: Apache Cassandra - Memory usage on server Hi folks, I’m

Apache Cassandra - Memory usage on server

2017-06-14 Thread ZAIDI, ASAD A
Hi folks, I’m using apache Cassandra 2.2. Instance is configured with max_heap_size set at 16G, memtable_allocation_type is offheap_objects – total available memory is 62G on the server. There is nothing but Cassandra is running on my Linux server. My Cassandra instance is consuming all availa

Re: How to minimize Cassandra memory usage for test environment?

2015-06-09 Thread horschi
Hi Eax, are you truncating/dropping tables between tests? Are your issues perhaps related to that? If you are, you should disable autoSnapshots and enable -DunsafeSystem=true to make it run smoother. kind regards, Christian On Tue, Jun 9, 2015 at 11:25 AM, Jason Wee wrote: > for a start, mayb

Re: How to minimize Cassandra memory usage for test environment?

2015-06-09 Thread Jason Wee
for a start, maybe you can see the setting use by raspberry pi project, for instance http://ac31004.blogspot.com/2012/05/apache-cassandra-on-raspberry-pi.html you can look at these two files, to tune down the settings for test environment. cassandra-env.sh cassandra.yaml hth jason On Tue, Jun 9,

How to minimize Cassandra memory usage for test environment?

2015-06-09 Thread Eax Melanhovich
Hello. We are running integration tests, using real Cassandra (not a mock) under Vagrant. MAX_HEAP_SIZE is set to 500M. As I discovered, lower value causes 'out of memory' after some time. Could memory usage be decreased somehow? Developers don't usually have a lot of free RAM and performance obv

Re: Cassandra memory usage

2012-01-03 Thread Narendra Sharma
See http://wiki.apache.org/cassandra/FAQ#mmap Also, the discussion on http://comments.gmane.org/gmane.comp.db.cassandra.user/14080 Hopefully these will answer your question. -Naren On Tue, Jan 3, 2012 at 12:53 PM, Daning Wang wrote: > I have Cassandra server which has JVM setting -Xms4G -Xmx4

Cassandra memory usage

2012-01-03 Thread Daning Wang
I have Cassandra server which has JVM setting -Xms4G -Xmx4G, but why top reports 15G RES memory and 11G SHR memory usage? I understand that -Xmx4G is only for the heap size. but it is strange that OS reports 2.5 times memory usage. Are there a lot of memory used by JNI? Please help to explain this.