This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Max memory page hosed my cygwin registry - how to get it back?

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

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.


Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]