Re: Impact of setting low value for flag -XX:MaxDirectMemorySize

2020-04-18 Thread HImanshu Sharma
>From the codebase as much I understood, if once a buffer is being allocated, then it is not freed and added to a recyclable pool. When a new request comes effort is made to fetch memory from recyclable pool and if is not available new allocation request is made. And while allocating a new request

How quickly off heap memory freed by compacted tables is reclaimed

2020-04-15 Thread HImanshu Sharma
Hi As we know data structures like bloom filters, compression metadata, index summary are kept off heap. But once a table gets compacted, how quickly that memory is reclaimed by kernel. Is it instant or it depends when reference if GCed? Regards Himanshu

Re: Memory usage more than heap memory

2020-04-12 Thread HImanshu Sharma
Thanks all for the help. But I am bit lost though because in my case top command is showing that Cassandra process is consuming 18G (heap+nonheap + pagecache) Free command is showing 12G as available out of 24G total. Now my heap is 8G and off heap metrics show 1.6G ( using jmxterm) usage. So my

Re: Memory usage more than heap memory

2020-04-11 Thread HImanshu Sharma
, 2020 at 11:56 PM Pekka Enberg wrote: > Hi Himanshu, > > On Sat, Apr 11, 2020 at 8:47 PM HImanshu Sharma > wrote: > > I am not worried about page cache. I want to monitor memory pressure, I > want to check that if heap+non heap usage goes above certain level then I >

Re: Memory usage more than heap memory

2020-04-11 Thread HImanshu Sharma
down when required (for example: a new > application needs it when boot up). > > On Sat, Apr 11, 2020 at 5:29 PM HImanshu Sharma < > himanshusharma0...@gmail.com> wrote: > >> Hi >> >> I am observing memory usage in top command, but there in RSS it is >> showin

Re: Memory usage more than heap memory

2020-04-11 Thread HImanshu Sharma
for monitoring. On Sat, Apr 11, 2020 at 9:42 PM Nitan Kainth wrote: > You can look at top command. There is column of memory > > > Regards, > > Nitan > > Cell: 510 449 9629 > > On Apr 11, 2020, at 11:10 AM, HImanshu Sharma < > himanshusharma0...@gmail.com>

Re: Memory usage more than heap memory

2020-04-11 Thread HImanshu Sharma
Upadhyay wrote: > It is OS page cache used during read..your os will leverage memory if not > being used by any other applications and it improves your read performance. > > On Sat, Apr 11, 2020, 12:47 PM HImanshu Sharma < > himanshusharma0...@gmail.com> wrote: > >> Hi

Memory usage more than heap memory

2020-04-11 Thread HImanshu Sharma
Himanshu Sharma