Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion 16GB memory limit on amd64

Received: by 10.50.179.66 with SMTP id de2mr2302051igc.4.1346471929112;
        Fri, 31 Aug 2012 20:58:49 -0700 (PDT)
X-BeenThere: golang-nuts@googlegroups.com
Received: by 10.231.74.223 with SMTP id v31ls8180780ibj.0.gmail; Fri, 31 Aug
 2012 20:58:41 -0700 (PDT)
Received: by 10.50.150.134 with SMTP id ui6mr2295491igb.4.1346471921018;
        Fri, 31 Aug 2012 20:58:41 -0700 (PDT)
Received: by 10.50.150.134 with SMTP id ui6mr2295490igb.4.1346471921009;
        Fri, 31 Aug 2012 20:58:41 -0700 (PDT)
Return-Path: <dio...@gmail.com>
Received: from mail-ob0-f181.google.com (mail-ob0-f181.google.com [209.85.214.181])
        by gmr-mx.google.com with ESMTPS id xd1si938465igb.1.2012.08.31.20.58.40
        (version=TLSv1/SSLv3 cipher=OTHER);
        Fri, 31 Aug 2012 20:58:41 -0700 (PDT)
Received-SPF: pass (google.com: domain of dio...@gmail.com designates 209.85.214.181 as permitted sender) client-ip=209.85.214.181;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of dio...@gmail.com designates 209.85.214.181 as permitted sender) smtp.mail=dio...@gmail.com; dkim=pass header...@gmail.com
Received: by obbwd18 with SMTP id wd18so6798087obb.40
        for <golang-nuts@googlegroups.com>; Fri, 31 Aug 2012 20:58:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:date:message-id:subject:from:to:content-type;
        bh=/FFgpAijkOt2w4Q9CwzU45i2tnDcPVYgiYLrPlkLOP4=;
        b=HdBuJHxCTU5YPPTlJKPKWOQuWAahV4xjhaf+kq1HaSzcagLqR5zxgolSVJzdVItice
         a6O9w7vUGWbrxE4xpK4KnX78rGnUIJIzNyoOFbZ64sim7yA64IKgoqOLuadr/asb/LGJ
         mXmReXcQIA9mSpl1+/iaJKxij1F1cdZfNAHc2zvbvz8S2tidT6ysWnszMQg2vMJsyB6K
         Jog7bdA+Ney3YEslbl6ryiLpcKM113B/KQXWbDKMNPcpGL8hT3OAToSEVOwmJvB8JD3z
         5TmbI6OYkcEDnJ6fwKd5uWSMR69HopLuo9+QEo91oplAXVpQtUsjO5NRc8+u5Yk5yKI+
         a5Bw==
MIME-Version: 1.0
Received: by 10.60.12.35 with SMTP id v3mr9210360oeb.13.1346471920737; Fri, 31
 Aug 2012 20:58:40 -0700 (PDT)
Received: by 10.76.171.37 with HTTP; Fri, 31 Aug 2012 20:58:40 -0700 (PDT)
Date: Sat, 1 Sep 2012 11:58:40 +0800
Message-ID: <CACE=nTd5W-0gNmhwgPrD4oSrkY6i=yG5gaeKtj6FZEPUqRR...@mail.gmail.com>
Subject: 16GB memory limit on amd64
From: Jingcheng Zhang <dio...@gmail.com>
To: golang-nuts <golang-nuts@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1

Hello gophers,

I'm running a server written in Go. It serves a lot of concurrent
connections, perhaps many millions per process.
Currently I don't know how to measure the accurate memory size used,
and when the process will reach the 16GB memory limit and panics.
The "top" command shows 2574M on VIRT, and 100M on RES.
Will the process panics when "VIRT" reaches 16G ?
Are there any detailed docs on Go's memory usage?

Thanks.

-- 
Best regards,
Jingcheng Zhang
Beijing, P.R.China