| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-1.9 required=5.0 tests=BAYES_00,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS |
| X-Spam-Check-By: | sourceware.org |
| To: | cygwin AT cygwin DOT com |
| From: | Heiko Elger <heiko_elger AT arburg DOT com> |
| Subject: | Re: [bash or DLL] Memory leak in childs |
| Date: | Mon, 18 Jul 2011 05:49:43 +0000 (UTC) |
| Lines: | 42 |
| Message-ID: | <loom.20110718T073757-2@post.gmane.org> |
| Mime-Version: | 1.0 |
| User-Agent: | Loom/3.14 (http://gmane.org/) |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
Hello,
I just can confirm the same problem with latest cygwin1.dll
(cygwin1-20110713.dll.bz2) on Windows 7/64 (fast XEON CPU).
I've seen this problem while testing other "exiter" - problem with the following
script.
*** snip snip snip ******
#!/bin/sh
set -e
while true; do
./exiter.exe
echo -n $?
done
*** snip snip snip ******
Please regard: exiter is a native WIN32 executable.
The virtual memory (windows task manager) grows and grows over the time.
The cygwin eats all memory til no more available.
But after alle cygwin processes are closed the memory is freed.
I did another native cygwin test using true.exe:
*** snip snip snip ******
#!/bin/sh
echo "starting $0"
while /usr/bin/true
do
:
done
echo "exiting $0"
*** snip snip snip ******
Using this script the used virtual memory (windows task manager) grows too, but
even more slowly - so you have to run this script a long time.
Best regards
Heiko Elger
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |