X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Sat, 23 Oct 2010 01:30:31 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Max memory page hosed my cygwin registry - how to get it back? Message-ID: <20101023053031.GB6529@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Sat, Oct 23, 2010 at 05:10:03AM +0000, Saurabh T wrote: >cgf wrote: >>On Fri, Oct 22, 2010 at 10:13:36PM +0000, Saurabh T wrote: >>>I ran the >>>regtool -i set /HKLM/Software/Cygwin/heap_chunk_in_mb 1024 >>>command from >>>http://www.cygwin.com/cygwin-ug-net/setup-maxmem.html >>> >>>After this >>>regtool -v list /HKLM/Software/Cygwin >>>shows nothing. >>> >> >>In that case you're probably doing something wrong. At the very least, >>you aren't following the guidelines suggested here: >> >>http://cygwin.com/problems.html >> >>>Appears regtool has a different syntax than what's shown on the page. >>> >>>(a) How do I get my previous settings (default, cygwin 1.7) back? Is >>>there any problem not having the registry values in there? >>>(b) Whom do I kick for writing faulty documentation? >> >>I'd suggest reading this link, referenced at the above web page: >> >>http://www.catb.org/~esr/faqs/smart-questions.html >> >>I understand you dont have a lot of time to respond to emails, but if >>you cant respond helpfully, please attempt to read the email before >>polluting the thread with a dismissive reply. Actually, I'll respond as I like and you can choose to take it or leave it. If you want to ask for help by suggesting that the documentation is wrong then you should be prepared to be challenged on that fact. I did cut and paste the examples from the documentation and they work just fine. >regtool has a different syntax from what is shown on the max memory >page. regtool -i set Key\Value not regtool -i set Key Value. The documentation that you referenced tells you to do: regtool -i set /HKLM/Software/Cygwin/heap_chunk_in_mb 1024 and that really does work. The regtool man page says: set KEY\VALUE [data ...] set VALUE and maybe that's a little unclear. However, it does not contradict the cygwin online documentation. >Doing the latter seems to have removed the cygwin registry values. I >asked how to get the original registry values back, and whether there >was a problem not having these values. Ok I admit (b) was a pitiful >attempt at http://dictionary.com/browse/humor. Actually, I don't see anything in your original message which could be classified as humor but if you want to delete the key then "man regtool" should tell you how to do that. Also the standard Windows tool "regedit" will work. cgf -- 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