From user-return-64802-archive-asf-public=cust-asf.ponee.io@cassandra.apache.org Sun Dec 1 17:03:42 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id DDB5C18061A for ; Sun, 1 Dec 2019 18:03:41 +0100 (CET) Received: (qmail 72096 invoked by uid 500); 1 Dec 2019 17:03:38 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 72085 invoked by uid 99); 1 Dec 2019 17:03:38 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Dec 2019 17:03:38 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 8BB2EC068B for ; Sun, 1 Dec 2019 17:03:37 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-he-de.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 9Tt2p4b6m6o6 for ; Sun, 1 Dec 2019 17:03:36 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::832; helo=mail-qt1-x832.google.com; envelope-from=ghiyasimehr@gmail.com; receiver= Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id 80F117DDCD for ; Sun, 1 Dec 2019 17:03:35 +0000 (UTC) Received: by mail-qt1-x832.google.com with SMTP id 38so2717101qtb.13 for ; Sun, 01 Dec 2019 09:03:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=+kYXwcLAVkOEWh2GPfEx+LeIHT2wcmK0MZPEMlEnVoc=; b=jYdLuSdIjd2DZ95M843VXpuOhPKNUSV/2undegClldoKn6IRTj427Sljjmf0WJWjm1 2cbBSria/bDqEdkyCngEmays7QziZtqqeOfV71EDCpJ5XBw8in87pPRGvhmG4tFCg0Nd NMh08romnE/dylYiOmpgAMcYMtIwV9KmMuoKICflQ7W75PTjgoeu1GK8D9Pzbf61sjqo 8lafMuNc2ovDRlsZn2dYx187WCbRmS3glpRFjVX6tlxBbIpaLANgWhXgUzsvG+841BAg 15hdWjp6ar+H4RefJlbvg69G+L/60X0105a0tPuCYu1KU7ISXqFmSx9sY9VoHl86SJ8l ADNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=+kYXwcLAVkOEWh2GPfEx+LeIHT2wcmK0MZPEMlEnVoc=; b=fSD98fKwsOOcslhJvXPZhl6Urz2alRReiOfQSKZHi2wQ9ZZ9dP2dOOwES3a2SE+JqY IYiSbEzyskBkoZsTWAwtmO2E+YVKzB68ijmlDxmOhAI65BSuflPb4BCy2w7pAx35jY3c FcP6bvULXHX7gm5fKSGkXDBw9JlLnv9Bvy/n2M/QVzUP4o/1yOD/x1okeFk0y+BjZFlz AgVX6hQReLRcVITQNg3iJLfM266i3x1xwUWB7Gnj+SIH7GSaErVRLiEWIHvfVizTAYf7 sYts1J7atzhWVuvCzPQhCwaQOtjlE//Y2nWDWfWDXV3g/dXs/lm8ESoAaN7XEseKUPhR YoPg== X-Gm-Message-State: APjAAAW44XxDruxoOU0HOk0i950yHUuv8h08gxIH7Ks2q2Vm7RXm5Kqd 4rVWNH4mFF/SPrRcsise67XeGYIzxstg/Ugnb2UEs5zI X-Google-Smtp-Source: APXvYqyctYlNbO00hNVZSp2RePvNVyXSRqxD+0iPl+fhDQ98uwCgSfDrRaRvr4XKyIiaBtO+55ZGPzNNDu6979h7obM= X-Received: by 2002:ac8:2310:: with SMTP id a16mr13013135qta.46.1575219807333; Sun, 01 Dec 2019 09:03:27 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Hossein Ghiyasi Mehr Date: Sun, 1 Dec 2019 20:20:25 +0330 Message-ID: Subject: Re: "Maximum memory usage reached (512.000MiB), cannot allocate chunk of 1.000MiB" To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary="0000000000000f31c00598a7719e" --0000000000000f31c00598a7719e Content-Type: text/plain; charset="UTF-8" Chunks are part of sstables. When there is enough space in memory to cache them, read performance will increase if application requests it again. Your real answer is application dependent. For example write heavy applications are different than read heavy or read-write heavy. Real time applications are different than time series data environments and ... . On Sun, Dec 1, 2019 at 7:09 PM Rahul Reddy wrote: > Hello, > > We are seeing memory usage reached 512 mb and cannot allocate 1MB. I see > this because file_cache_size_mb by default set to 512MB. > > Datastax document recommends to increase the file_cache_size. > > We have 32G over all memory allocated 16G to Cassandra. What is the > recommended value in my case. And also when does this memory gets filled up > frequent does nodeflush helps in avoiding this info messages? > --0000000000000f31c00598a7719e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Chunks are part of sstables. When there is enough space=C2= =A0in memory to cache them, read performance will increase if application r= equests it again.

Your real answer is application dependent. F= or example write heavy applications are different than read heavy or read-w= rite heavy. Real time applications are different than time series data envi= ronments and ... .



On Sun, Dec 1, = 2019 at 7:09 PM Rahul Reddy <rahulreddy1234@gmail.com> wrote:
Hello,

We are seeing memory usage reached 51= 2 mb and cannot allocate 1MB.=C2=A0 I see this because file_cache_size_mb b= y default set to 512MB.

= Datastax document recommends to increase the file_cache_size.

We have 32G over all memory allocated= 16G to Cassandra. What is the recommended value in my case. And also when = does this memory gets filled up frequent does nodeflush helps in avoiding t= his info messages?
--0000000000000f31c00598a7719e--