X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=mQnB8r3L09z0s5Zl f75WoJTGmiw/GyC3HTT/MqZ63glIsW1IxErIl8YeQz+dM/0iCphMRWyV7P2JKFzo yz1j/vDwsHgcujYBW96SaBVL3MnWtL9708eavldJ6FKnLH8vqcybSwVJmjhn+DmX /m5kbSnLHefGAgiKWR/txghsrFo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=PhTwperYwmI2k3axrHyYMP dvcnM=; b=Fm0HS6tQGwTfiMOaThGopMi+lnJRtihFjXdXigFNFOskitYlUwgRUn QDXdRKnTSKFRWr2NcsSVb1muDR0PsKkgQ6AeIZmyMtcP5VW9mAqz/XgfFZrV1jY2 DTt+kZzYJFw/OLZ4IoYVF/AiIfy5pZcvq0DvxVbnc94Pz7Jie9T/g= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=4.0 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=H*UA:Bat!, H*x:Bat!, H*F:D*yandex.ru, xnor X-HELO: smtp.ht-systems.ru Date: Tue, 29 Dec 2015 22:38:00 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <179728397.20151229223800@yandex.ru> To: xnor , cygwin AT cygwin DOT com Subject: Re: Compilation continuously increases (non) paged pool memory usage In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Greetings, xnor! >>What is leaking here? > Here are some hard numbers: > After the system booted up, nonpaged 70 MB, paged WS 208 MB. > One compilation later: nonpaged 157MB, paged WS 289 MB. > Another one later: 249 MB, 342 MB. > At the moment I'm at 550 MB nonpaged, 650 MB paged WS. > The number of system threads and handles remains about the same. > poolmon shows the main growth of nonpaged memory with tag "Proc" > (process objects) and paged with tag "Toke" (token objects). > xperf shows cygwin1.dll under Proc. > How could I debug better what is leaking here? Usual suspects are BLODA. Most often, antiviruses of questionable origin and mental sanity. Try same tests on a separate system, or in a VM. -- With best regards, Andrey Repin Tuesday, December 29, 2015 22:37:01 Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple