X-Spam-Check-By: sourceware.org Message-ID: <45DEEC2E.2030605@cygwin.com> Date: Fri, 23 Feb 2007 08:29:18 -0500 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.9) Gecko/20061221 Fedora/1.5.0.9-1.fc4.remi Thunderbird/1.5.0.9 Mnenhy/0.7.4.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: cygwin memory leak problems: possible solution References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 Luca Trevisani wrote: > Hi, I encountered memory leaks problems compiling a large code under > cygwin. > I tried both under winxp and win2k with same result: the memory > resources of > the system started slowly falling down, up to the end of the process with > error messages like "fork: resource temporarily unavailable". > > I found many discussions on this topic on the cygwin mailing list, such as: > http://cygwin.com/ml/cygwin/2003-08/msg00328.html > http://www.cygwin.com/ml/cygwin/2006-06/msg00366.html > so I think it is a known problem many people face, but I could not find any > solution to the problem. > > After many tries, I found the solution: in my case the problem was the > zonealarm firewall. Since zonealarm is widely used, I suspect the same > issue > affects the pc of many others. Unfortunately it is not enough to turn > off or > disable zonealarm to avoid the problem. It is needed to uninstall it, > and to > be sure it is better to follow the full list of things to do to be sure to > completely uninstall zonealarm as reported on: > http://www.nohold.net/noHoldCust25/Prod_1/Articles55646/CompleteUninstallNonNT.html > > > I have tried many other free firewall programs and did not encounter this > issue anymore, you can try for instance: Ashampoo Firewall, Comodo > Firewall, > PC Tools Firewall, Sygate Personal Firewall etc... > > If the solution is confirmed by other users facing this issue, I think it > should be included in the cygwin FAQ. The incompatibility is in fact very > difficult to detect, because it remains even if the zonealarm firewall is > disabled. This is a known issue in general for the Cygwin/X folks, specifically for ZoneAlarm, although you'll see some conflicting reports. Your finding that the firewall needs to be uninstalled to avoid the problems is quite true. Firewalls insert themselves into the networking stack. Turning them off does not avoid any buggy code that they have inserted. Only uninstalling returns the stack to its original form, eliminating the bug. If you were using the latest version of ZoneAlarm, you may want to consider reporting the problem to them if you have not already. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/