public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* cygwin memory leak
@ 2015-06-11 20:06 Frank Morauf
  2015-06-11 22:16 ` Warren Young
  0 siblings, 1 reply; 3+ messages in thread
From: Frank Morauf @ 2015-06-11 20:06 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 344 bytes --]

Running the following lines let windows physical memory grow until no
more left (task-manager: physical memory). The taken memory is never
freed until os restart. This happens also while compiling huge
projects. Tested on three different Windows 7 x64 machines with actual
cygwin 2.x (32 and 64 bit).

#!/bin/sh
while (( 1 )); do
/bin/true
done

[-- Attachment #2: cygcheck.out --]
[-- Type: application/octet-stream, Size: 24106 bytes --]


Cygwin Configuration Diagnostics
Current System Time: Thu Jun 11 20:45:52 2015

Windows 7 Professional Ver 6.1 Build 7601 Service Pack 1

Path:	C:\cygwin64\usr\local\bin
	C:\cygwin64\bin
	C:\cygwin64\opt\cross-arm-linux\bin
	C:\ProgramData\Oracle\Java\javapath
	C:\Program Files (x86)\Intel\iCLS Client
	C:\Program Files\Intel\iCLS Client
	C:\Windows\system32
	C:\Windows
	C:\Windows\System32\Wbem
	C:\Windows\System32\WindowsPowerShell\v1.0
	C:\Program Files\Intel\Intel(R) Management Engine Components\DAL
	C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL
	C:\Program Files\Intel\Intel(R) Management Engine Components\IPT
	C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT
	C:\Program Files\Microsoft SQL Server\110\Tools\Binn
	C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0
	C:\Program Files\Microsoft SQL Server\120\Tools\Binn

Output from C:\cygwin64\bin\id.exe
UID: 197608(f.morauf)
GID: 197121(None)
=197121(None)
114(Lokales Konto und Mitglied der Gruppe "Administratoren")
544(Administratoren)
559(Leistungsprotokollbenutzer)
545(Benutzer)
4(INTERAKTIV)
66049(KONSOLENANMELDUNG)
11(Authentifizierte Benutzer)
15(Diese Organisation)
113(Lokales Konto)
4095(CurrentSession)
66048(LOKAL)
262154(NTLM-Authentifizierung)
405504(Hohe Verbindlichkeitsstufe)

SysDir: C:\Windows\system32
WinDir: C:\Windows

USER = 'f.morauf'
PWD = '/disk/c/Users/f.morauf'
HOME = '/disk/c/Users/f.morauf'

HOMEPATH = '\Users\f.morauf'
APPDATA = 'C:\Users\f.morauf\AppData\Roaming'
ProgramW6432 = 'C:\Program Files'
HOSTNAME = 'fmpc1'
SHELL = '/bin/bash'
TERM = 'xterm'
PROCESSOR_IDENTIFIER = 'Intel64 Family 6 Model 60 Stepping 3, GenuineIntel'
PROFILEREAD = 'true'
WINDIR = 'C:\Windows'
PUBLIC = 'C:\Users\Public'
OLDPWD = '/disk/c/Users/f.morauf/Desktop'
DEVMGR_SHOW_DETAILS = '1'
ORIGINAL_PATH = '/opt/cross-arm-linux/bin:/disk/c/ProgramData/Oracle/Java/javapath:/disk/c/Program Files (x86)/Intel/iCLS Client:/disk/c/Program Files/Intel/iCLS Client:/disk/c/Windows/system32:/disk/c/Windows:/disk/c/Windows/System32/Wbem:/disk/c/Windows/System32/WindowsPowerShell/v1.0:/disk/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/disk/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/disk/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/disk/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/disk/c/Program Files/Microsoft SQL Server/110/Tools/Binn:/disk/c/Program Files (x86)/Microsoft SDKs/TypeScript/1.0:/disk/c/Program Files/Microsoft SQL Server/120/Tools/Binn'
USERDOMAIN = 'FMPC1'
CommonProgramFiles(x86) = 'C:\Program Files (x86)\Common Files'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\ProgramData'
windows_tracing_flags = '3'
DEVMGR_SHOW_NONPRESENT_DEVICES = '1'
windows_tracing_logfile = 'C:\BVTBin\Tests\installpackage\csilogfile.log'
TEMP = '/tmp'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
USERNAME = 'f.morauf'
PROCESSOR_LEVEL = '6'
ProgramFiles(x86) = 'C:\Program Files (x86)'
PSModulePath = 'C:\Windows\system32\WindowsPowerShell\v1.0\Modules\'
FP_NO_HOST_CHECK = 'NO'
SYSTEMDRIVE = 'C:'
LANG = 'de_DE.UTF-8'
VS120COMNTOOLS = 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\'
USERPROFILE = 'C:\Users\f.morauf'
TZ = 'Europe/Berlin'
PS1 = '\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
LOGONSERVER = '\\FMPC1'
CommonProgramW6432 = 'C:\Program Files\Common Files'
PROCESSOR_ARCHITECTURE = 'AMD64'
LOCALAPPDATA = 'C:\Users\f.morauf\AppData\Local'
ProgramData = 'C:\ProgramData'
EXECIGNORE = '*.dll'
SHLVL = '1'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
HOMEDRIVE = 'C:'
COMSPEC = 'C:\Windows\system32\cmd.exe'
TMP = '/tmp'
SYSTEMROOT = 'C:\Windows'
PRINTER = 'Lexmark Universal v2'
PROCESSOR_REVISION = '3c03'
EMAIL = 'C:\Users\f.morauf\Daten\The Bat!'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info'
PROGRAMFILES = 'C:\Program Files'
NUMBER_OF_PROCESSORS = '8'
SESSIONNAME = 'Console'
COMPUTERNAME = 'FMPC1'
_ = '/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygwin
HKEY_CURRENT_USER\Software\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\cygwin_bash
  (default) = '&Bash Prompt Here'
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shell\cygwin_bash\command
  (default) = 'C:\cygwin\bin\mintty.exe -e /bin/xhere /bin/bash.exe "%V"'
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\cygwin_bash
  (default) = '&Bash Prompt Here'
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\cygwin_bash\command
  (default) = 'C:\cygwin\bin\mintty.exe -e /bin/xhere /bin/bash.exe "%L"'
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Drive\Background\Shell\cygwin_bash
  (default) = '&Bash Prompt Here'
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Drive\Background\Shell\cygwin_bash\command
  (default) = 'C:\cygwin\bin\mintty.exe -e /bin/xhere /bin/bash.exe "%V"'
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Drive\shell\cygwin_bash
  (default) = '&Bash Prompt Here'
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Drive\shell\cygwin_bash\command
  (default) = 'C:\cygwin\bin\mintty.exe -e /bin/xhere /bin/bash.exe "%L"'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Installations
  (default) = '\??\C:\cygwin64'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup
  (default) = 'C:\cygwin64'
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\cygwin_bash
  (default) = 'Cygwin Bash Prompt Here (x86)'
  UnInstallString = 'C:\cygwin\bin\sh -c "PATH=/bin /bin/chere -u -s bash"'
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Cygwin\Installations
  (default) = '\??\C:\cygwin'
  0b2e0ad1875883ba = '\??\C:\cygwin32'
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Cygwin\setup
  (default) = 'C:\cygwin32'

obcaseinsensitive set to 0

Cygwin installations found in the registry:
  System: Key: e022582115c10879 Path: C:\cygwin64

c:  hd  NTFS    243968Mb  39% CP CS UN PA FC     System

C:\cygwin64      /         system  binary,auto
C:\cygwin64\bin  /usr/bin  system  binary,auto
C:\cygwin64\lib  /usr/lib  system  binary,auto
cygdrive prefix  /disk     user    binary,auto

Found: C:\cygwin64\bin\awk
 -> C:\cygwin64\bin\gawk.exe
Found: C:\cygwin64\bin\bash.exe
Found: C:\cygwin64\bin\cat.exe
Found: C:\cygwin64\bin\cp.exe
Found: C:\cygwin64\bin\cpp.exe
Not Found: crontab
Found: C:\cygwin64\bin\find.exe
Found: C:\Windows\system32\find.exe
Warning: C:\cygwin64\bin\find.exe hides C:\Windows\system32\find.exe
Found: C:\cygwin64\bin\gcc.exe
Not Found: gdb
Found: C:\cygwin64\bin\grep.exe
Found: C:\cygwin64\bin\kill.exe
Found: C:\cygwin64\bin\ld.exe
Found: C:\cygwin64\bin\ls.exe
Found: C:\cygwin64\bin\make.exe
Found: C:\cygwin64\bin\mv.exe
Not Found: patch
Found: C:\cygwin64\bin\perl.exe
Found: C:\cygwin64\bin\rm.exe
Found: C:\cygwin64\bin\sed.exe
Not Found: ssh
Found: C:\cygwin64\bin\sh.exe
Found: C:\cygwin64\bin\tar.exe
Found: C:\cygwin64\bin\test.exe
Found: C:\cygwin64\bin\vi.exe
Not Found: vim

   38k 2013/07/19 C:\cygwin64\bin\cygargp-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygargp-0.dll" v0.0 ts=2013-07-19 15:07
   88k 2015/03/02 C:\cygwin64\bin\cygatomic-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygatomic-1.dll" v0.0 ts=2015-03-02 22:05
   16k 2013/03/26 C:\cygwin64\bin\cygattr-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygattr-1.dll" v0.0 ts=2013-03-26 18:26
  180k 2015/03/23 C:\cygwin64\bin\cygblkid-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygblkid-1.dll" v0.0 ts=2015-03-23 09:46
   64k 2013/03/07 C:\cygwin64\bin\cygbz2-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygbz2-1.dll" v0.0 ts=2013-03-07 02:54
   10k 2015/02/20 C:\cygwin64\bin\cygcharset-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygcharset-1.dll" v0.0 ts=2015-02-20 17:07
  117k 2013/05/05 C:\cygwin64\bin\cygcloog-isl-4.dll - os=4.0 img=0.0 sys=5.2
                  "cygcloog-isl-4.dll" v0.0 ts=2013-05-05 16:41
   13k 2015/03/19 C:\cygwin64\bin\cygcom_err-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygcom_err-2.dll" v0.0 ts=2015-03-19 02:44
    9k 2013/03/07 C:\cygwin64\bin\cygcrypt-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygcrypt-0.dll" v0.0 ts=2013-03-07 09:29
 2213k 2015/03/19 C:\cygwin64\bin\cygcrypto-1.0.0.dll - os=4.0 img=0.0 sys=5.2
                  "cygcrypto-1.0.0.dll" v0.0 ts=2015-03-19 16:49
 1526k 2013/03/08 C:\cygwin64\bin\cygdb-5.3.dll - os=4.0 img=0.0 sys=5.2
                  "cygdb-5.3.dll" v0.0 ts=2013-03-08 07:55
  111k 2013/03/08 C:\cygwin64\bin\cygdb_cxx-5.3.dll - os=4.0 img=0.0 sys=5.2
                  "cygdb_cxx-5.3.dll" v0.0 ts=2013-03-08 07:56
  472k 2013/03/08 C:\cygwin64\bin\cygdb_sql-5.3.dll - os=4.0 img=0.0 sys=5.2
                  "cygdb_sql-5.3.dll" v0.0 ts=2013-03-08 07:58
  147k 2013/07/31 C:\cygwin64\bin\cygexpat-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygexpat-1.dll" v0.0 ts=2013-07-31 22:53
  214k 2015/03/19 C:\cygwin64\bin\cygext2fs-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygext2fs-2.dll" v0.0 ts=2015-03-19 02:45
   30k 2014/10/14 C:\cygwin64\bin\cygfam-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygfam-0.dll" v0.0 ts=2014-10-14 21:33
   26k 2015/01/11 C:\cygwin64\bin\cygffi-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygffi-6.dll" v0.0 ts=2015-01-11 09:25
   57k 2015/06/09 C:\cygwin64\bin\cygformw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygformw-10.dll" v0.0 ts=2015-06-09 23:57
   69k 2015/03/02 C:\cygwin64\bin\cyggcc_s-seh-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyggcc_s-seh-1.dll" v0.0 ts=2015-03-02 20:43
   40k 2014/05/27 C:\cygwin64\bin\cyggdbm-4.dll - os=4.0 img=0.0 sys=5.2
                  "cyggdbm-4.dll" v0.0 ts=1970-01-01 00:00
   13k 2014/05/27 C:\cygwin64\bin\cyggdbm_compat-4.dll - os=4.0 img=0.0 sys=5.2
                  "cyggdbm_compat-4.dll" v0.0 ts=1970-01-01 00:00
 1244k 2015/03/12 C:\cygwin64\bin\cyggio-2.0-0.dll - os=4.0 img=0.0 sys=5.2
                  "cyggio-2.0-0.dll" v0.0 ts=2015-03-12 06:25
  956k 2015/03/12 C:\cygwin64\bin\cygglib-2.0-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygglib-2.0-0.dll" v0.0 ts=2015-03-12 06:21
   14k 2015/03/12 C:\cygwin64\bin\cyggmodule-2.0-0.dll - os=4.0 img=0.0 sys=5.2
                  "cyggmodule-2.0-0.dll" v0.0 ts=2015-03-12 06:21
  520k 2015/01/26 C:\cygwin64\bin\cyggmp-10.dll - os=4.0 img=0.0 sys=5.2
                  "cyggmp-10.dll" v0.0 ts=2015-01-26 16:08
   21k 2015/01/26 C:\cygwin64\bin\cyggmpxx-4.dll - os=4.0 img=0.0 sys=5.2
                  "cyggmpxx-4.dll" v0.0 ts=2015-01-26 16:08
  281k 2015/03/12 C:\cygwin64\bin\cyggobject-2.0-0.dll - os=4.0 img=0.0 sys=5.2
                  "cyggobject-2.0-0.dll" v0.0 ts=2015-03-12 06:22
   73k 2015/03/02 C:\cygwin64\bin\cyggomp-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyggomp-1.dll" v0.0 ts=2015-03-02 20:58
    9k 2015/03/12 C:\cygwin64\bin\cyggthread-2.0-0.dll - os=4.0 img=0.0 sys=5.2
                  "cyggthread-2.0-0.dll" v0.0 ts=2015-03-12 06:21
  691k 2013/04/22 C:\cygwin64\bin\cygguile-17.dll - os=4.0 img=0.0 sys=5.2
                  "cygguile-17.dll" v0.0 ts=2013-04-22 03:15
   30k 2015/01/27 C:\cygwin64\bin\cyghistory7.dll - os=4.0 img=0.0 sys=5.2
                  "cyghistory7.dll" v0.0 ts=2015-01-27 03:51
 1009k 2015/02/20 C:\cygwin64\bin\cygiconv-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygiconv-2.dll" v0.0 ts=2015-02-20 17:07
   40k 2015/02/20 C:\cygwin64\bin\cygintl-8.dll - os=4.0 img=0.0 sys=5.2
                  "cygintl-8.dll" v0.0 ts=2015-02-20 18:01
  888k 2013/05/05 C:\cygwin64\bin\cygisl-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygisl-10.dll" v0.0 ts=2013-05-05 16:36
    6k 2015/06/09 C:\cygwin64\bin\cyglsa64.dll - os=4.0 img=0.0 sys=5.2
                  "cyglsa64.dll" v0.0 ts=2015-06-09 11:21
   35k 2015/02/17 C:\cygwin64\bin\cygltdl-7.dll - os=4.0 img=0.0 sys=5.2
                  "cygltdl-7.dll" v0.0 ts=2015-02-17 18:26
  139k 2015/05/03 C:\cygwin64\bin\cyglzma-5.dll - os=4.0 img=0.0 sys=5.2
                  "cyglzma-5.dll" v0.0 ts=2015-05-03 07:34
  113k 2015/05/06 C:\cygwin64\bin\cygmagic-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygmagic-1.dll" v0.0 ts=2015-05-06 08:05
  168k 2015/04/17 C:\cygwin64\bin\cygman-2-7-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygman-2-7-1.dll" v0.0 ts=2015-04-17 21:36
   22k 2015/04/17 C:\cygwin64\bin\cygmandb-2-7-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygmandb-2-7-1.dll" v0.0 ts=2015-04-17 21:36
   29k 2015/06/09 C:\cygwin64\bin\cygmenuw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygmenuw-10.dll" v0.0 ts=2015-06-09 23:57
   89k 2015/03/01 C:\cygwin64\bin\cygmpc-3.dll - os=4.0 img=0.0 sys=5.2
                  "cygmpc-3.dll" v0.0 ts=2015-03-01 20:24
  334k 2015/01/26 C:\cygwin64\bin\cygmpfr-4.dll - os=4.0 img=0.0 sys=5.2
                  "cygmpfr-4.dll" v0.0 ts=2015-01-26 16:14
   53k 2015/06/09 C:\cygwin64\bin\cygncurses++w-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygncurses++w-10.dll" v0.0 ts=2015-06-10 00:01
  301k 2015/06/09 C:\cygwin64\bin\cygncursesw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygncursesw-10.dll" v0.0 ts=2015-06-09 23:56
  319k 2015/06/01 C:\cygwin64\bin\cygp11-kit-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygp11-kit-0.dll" v0.0 ts=2015-06-01 19:02
   14k 2015/06/09 C:\cygwin64\bin\cygpanelw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygpanelw-10.dll" v0.0 ts=2015-06-09 23:56
  460k 2015/04/30 C:\cygwin64\bin\cygpcre-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygpcre-1.dll" v0.0 ts=2015-04-30 02:03
  426k 2015/04/30 C:\cygwin64\bin\cygpcre16-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygpcre16-0.dll" v0.0 ts=2015-04-30 02:03
  410k 2015/04/30 C:\cygwin64\bin\cygpcre32-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygpcre32-0.dll" v0.0 ts=2015-04-30 02:03
   31k 2015/04/30 C:\cygwin64\bin\cygpcrecpp-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygpcrecpp-0.dll" v0.0 ts=2015-04-30 02:03
   11k 2015/04/30 C:\cygwin64\bin\cygpcreposix-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygpcreposix-0.dll" v0.0 ts=2015-04-30 02:03
 1581k 2015/02/17 C:\cygwin64\bin\cygperl5_14.dll - os=4.0 img=0.0 sys=5.2
                  "cygperl5_14.dll" v0.0 ts=2015-02-17 20:41
   39k 2015/04/09 C:\cygwin64\bin\cygpipeline-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygpipeline-1.dll" v0.0 ts=2015-04-09 21:04
   41k 2013/10/21 C:\cygwin64\bin\cygpopt-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygpopt-0.dll" v0.0 ts=2013-10-21 21:52
  305k 2015/03/02 C:\cygwin64\bin\cygquadmath-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygquadmath-0.dll" v0.0 ts=2015-03-02 21:37
  207k 2015/01/27 C:\cygwin64\bin\cygreadline7.dll - os=4.0 img=0.0 sys=5.2
                  "cygreadline7.dll" v0.0 ts=2015-01-27 03:51
  816k 2015/02/14 C:\cygwin64\bin\cygslang-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygslang-2.dll" v0.0 ts=2015-02-14 19:08
   89k 2015/03/23 C:\cygwin64\bin\cygsmartcols-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygsmartcols-1.dll" v0.0 ts=2015-03-23 09:46
  765k 2015/05/21 C:\cygwin64\bin\cygsqlite3-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygsqlite3-0.dll" v0.0 ts=2015-05-21 14:08
  143k 2015/03/17 C:\cygwin64\bin\cygssh2-1.dll - os=4.0 img=0.0 sys=5.2
                  "cygssh2-1.dll" v0.0 ts=2015-03-17 04:00
  419k 2015/03/19 C:\cygwin64\bin\cygssl-1.0.0.dll - os=4.0 img=0.0 sys=5.2
                  "cygssl-1.0.0.dll" v0.0 ts=2015-03-19 16:49
   12k 2015/03/02 C:\cygwin64\bin\cygssp-0.dll - os=4.0 img=0.0 sys=5.2
                  "cygssp-0.dll" v0.0 ts=2015-03-02 21:33
  941k 2015/03/02 C:\cygwin64\bin\cygstdc++-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygstdc++-6.dll" v0.0 ts=2015-03-02 20:57
   66k 2015/04/23 C:\cygwin64\bin\cygtasn1-6.dll - os=4.0 img=0.0 sys=5.2
                  "cygtasn1-6.dll" v0.0 ts=2015-04-23 11:16
   52k 2015/06/09 C:\cygwin64\bin\cygticw-10.dll - os=4.0 img=0.0 sys=5.2
                  "cygticw-10.dll" v0.0 ts=2015-06-09 23:56
   15k 2015/03/23 C:\cygwin64\bin\cyguuid-1.dll - os=4.0 img=0.0 sys=5.2
                  "cyguuid-1.dll" v0.0 ts=2015-03-23 09:46
 1207k 2014/10/19 C:\cygwin64\bin\cygxml2-2.dll - os=4.0 img=0.0 sys=5.2
                  "cygxml2-2.dll" v0.0 ts=2014-10-19 08:52
   80k 2014/11/19 C:\cygwin64\bin\cygz.dll - os=4.0 img=0.0 sys=5.2
                  "cygz.dll" v0.0 ts=2014-11-19 23:08
 3222k 2015/06/09 C:\cygwin64\bin\cygwin1.dll - os=4.0 img=0.0 sys=5.2
                  "cygwin1.dll" v0.0 ts=2015-06-09 11:22
    Cygwin DLL version info:
        DLL version: 2.0.4
        DLL epoch: 19
        DLL old termios: 5
        DLL malloc env: 28
        Cygwin conv: 181
        API major: 0
        API minor: 287
        Shared data: 5
        DLL identifier: cygwin1
        Mount registry: 3
        Cygwin registry name: Cygwin
        Installations name: Installations
        Cygdrive default prefix: 
        Build date: 
        Shared id: cygwin1S5


Can't find the cygrunsrv utility, skipping services check.


Cygwin Package Information
Last downloaded files to: C:\Temp\Install\WinXX\cygwin
Last downloaded files from: ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/sources.redhat.com/cygwin/

Package                   Version            Status
_autorebase               001002-1           OK
_update-info-dir          00433-1            OK
alternatives              1.3.30c-10         OK
base-cygwin               3.8-1              OK
base-files                4.2-3              OK
bash                      4.3.39-2           OK
binutils                  2.25-1             OK
bzip2                     1.0.6-2            OK
ca-certificates           2.4-2              OK
cloog-isl                 0.18.0-2           OK
coreutils                 8.23-4             OK
cygutils                  1.4.14-1           OK
cygwin                    2.0.4-1            OK
cygwin-devel              2.0.4-1            OK
dash                      0.5.8-3            OK
diffutils                 3.3-2              OK
editrights                1.03-1             OK
file                      5.22-2             OK
findutils                 4.5.12-1           OK
gamin                     0.1.10-15          OK
gawk                      4.1.3-1            OK
gcc-core                  4.9.2-3            OK
gcc-g++                   4.9.2-3            OK
getent                    2.18.90-4          OK
gmp                       6.0.0a-2           OK
grep                      2.21-2             OK
groff                     1.22.3-1           OK
gsettings-desktop-schemas 3.14.2-1           OK
gzip                      1.6-1              OK
hostname                  3.13-1             OK
info                      5.2-3              OK
ipc-utils                 1.0-2              OK
isl                       0.11.1-2           OK
less                      471-1              OK
libargp                   20110921-2         OK
libatomic1                4.9.2-3            OK
libattr1                  2.4.46-1           OK
libblkid1                 2.25.2-2           OK
libbz2_1                  1.0.6-2            OK
libcharset1               1.14-3             OK
libcloog-isl-devel        0.18.0-2           OK
libcloog-isl4             0.18.0-2           OK
libcom_err2               1.42.12-2          OK
libcrypt0                 1.1-1              OK
libdb5.3                  5.3.21-1           OK
libexpat1                 2.1.0-3            OK
libext2fs2                1.42.12-2          OK
libfam0                   0.1.10-15          OK
libffi-devel              3.2.1-1            OK
libffi6                   3.2.1-1            OK
libgcc1                   4.9.2-3            OK
libgdbm4                  1.11-1             OK
libglib2.0-devel          2.42.2-1           OK
libglib2.0_0              2.42.2-1           OK
libgmp-devel              6.0.0a-2           OK
libgmp10                  6.0.0a-2           OK
libgmpxx4                 6.0.0a-2           OK
libgomp1                  4.9.2-3            OK
libguile17                1.8.8-1            OK
libiconv                  1.14-3             OK
libiconv-devel            1.14-3             OK
libiconv2                 1.14-3             OK
libintl-devel             0.19.4-1           OK
libintl8                  0.19.4-1           OK
libisl-devel              0.11.1-2           OK
libisl10                  0.11.1-2           OK
libltdl7                  2.4.6-1            OK
liblzma5                  5.2.1-1            OK
libmpc-devel              1.0.3-1            OK
libmpc3                   1.0.3-1            OK
libmpfr-devel             3.1.2-2            OK
libmpfr4                  3.1.2-2            OK
libncurses-devel          5.9-20150530-1     OK
libncursesw10             5.9-20150530-1     OK
libopenssl100             1.0.2a-1           OK
libp11-kit0               0.22.1-1           OK
libpcre-devel             8.37-1             OK
libpcre1                  8.37-1             OK
libpcre16_0               8.37-1             OK
libpcre32_0               8.37-1             OK
libpcrecpp0               8.37-1             OK
libpcreposix0             8.37-1             OK
libpipeline1              1.4.0-1            OK
Empty package libpopt0
libpopt0                  1.16-1             OK
libquadmath0              4.9.2-3            OK
libreadline7              6.3.8-1            OK
libslang-devel            2.3.1pre17-1       OK
libslang2                 2.3.1pre17-1       OK
libsmartcols1             2.25.2-2           OK
libsqlite3_0              3.8.10.2-1         OK
libssh2_1                 1.5.0-1            OK
libssp0                   4.9.2-3            OK
libstdc++6                4.9.2-3            OK
libtasn1_6                4.4-1              OK
libuuid-devel             2.25.2-2           OK
libuuid1                  2.25.2-2           OK
libxml2                   2.9.2-1            OK
login                     1.11-1             OK
lynx                      2.8.7-2            OK
make                      4.1-1              OK
man-db                    2.7.1-1            OK
mc                        4.8.14-1           OK
mintty                    1.2-beta1-1        OK
mpfr                      3.1.2-2            OK
openssl                   1.0.2a-1           OK
p11-kit                   0.22.1-1           OK
p11-kit-trust             0.22.1-1           OK
perl                      5.14.4-3           OK
perl-TimeDate             2.30-1             OK
perl_autorebase           5.14.4-3           OK
perl_base                 5.14.4-3           OK
pkg-config                0.28-1             OK
popt                      1.16-1             OK
python                    2.7.10-1           OK
rebase                    4.4.1-1            OK
run                       1.3.3-1            OK
sed                       4.2.2-3            OK
shared-mime-info          1.3-3              OK
tar                       1.28-1             OK
terminfo                  5.9-20150530-1     OK
texinfo                   5.2-3              OK
tzcode                    2014j-1            OK
util-linux                2.25.2-2           OK
vim-minimal               7.4.729-3          OK
w32api-headers            4.0.2-1            OK
w32api-runtime            4.0.2-1            OK
which                     2.20-2             OK
windows-default-manifest  6.4-1              OK
xz                        5.2.1-1            OK
zlib-devel                1.2.8-3            OK
zlib0                     1.2.8-3            OK
Use -h to see help about each section

[-- Attachment #3: Type: text/plain, Size: 218 bytes --]

--
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: cygwin memory leak
  2015-06-11 20:06 cygwin memory leak Frank Morauf
@ 2015-06-11 22:16 ` Warren Young
  2015-06-15 16:34   ` Ian Lambert
  0 siblings, 1 reply; 3+ messages in thread
From: Warren Young @ 2015-06-11 22:16 UTC (permalink / raw)
  To: The Cygwin Mailing List

On Jun 11, 2015, at 2:06 PM, Frank Morauf <frank@morauf.de> wrote:
> 
> Running the following lines let windows physical memory grow until no
> more left (task-manager: physical memory).

I’ve run it here in two separate sessions of about 10 minutes each.  Memory usage isn’t growing.  Windows 10 preview, 64-bit OS and 64-bit Cygwin.

> The taken memory is never
> freed until os restart.

I don’t think Cygwin could do that even if it wanted to, given that you don’t have any Cygwin services running.  Once the last Cygwin process dies, the OS *will* release the memory it was holding.

cygcheck didn’t seem to find any BLODA on your system, but that seems a more likely explanation than that Cygwin — a purely user-space program — has somehow caused a kernel-level memory leak.

> Tested on three different Windows 7 x64 machines with actual
> cygwin 2.x (32 and 64 bit).

Try testing with all antimalware software disabled, or better, uninstalled.
--
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: cygwin memory leak
  2015-06-11 22:16 ` Warren Young
@ 2015-06-15 16:34   ` Ian Lambert
  0 siblings, 0 replies; 3+ messages in thread
From: Ian Lambert @ 2015-06-15 16:34 UTC (permalink / raw)
  To: The Cygwin Mailing List


>
>> The taken memory is never
>> freed until os restart.
>
>I don’t think Cygwin could do that even if it wanted to, given that you
>don’t have any Cygwin services running.  Once the last Cygwin process
>dies, the OS *will* release the memory it was holding.

It does, however, seem vulnerable to fork bombs, like:

$cat dontdothis

#!/bin/sh
while (( 1 )); do
/bin/true
./dontdothis &
done

:)

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

--
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-06-15 16:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-11 20:06 cygwin memory leak Frank Morauf
2015-06-11 22:16 ` Warren Young
2015-06-15 16:34   ` Ian Lambert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).