diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2016-03-18 22:52:04 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-03-18 22:52:04 +0100 |
commit | 83029bb69e2ccb47ab5546551210b59c4d483198 (patch) | |
tree | 25304b297da81896362545710520022b5a31d004 /winsup/doc/setup-maxmem.xml | |
parent | 97d1536d17aa72a3ff26d6dff8c451ce50be2665 (diff) | |
download | cygnal-83029bb69e2ccb47ab5546551210b59c4d483198.tar.gz cygnal-83029bb69e2ccb47ab5546551210b59c4d483198.tar.bz2 cygnal-83029bb69e2ccb47ab5546551210b59c4d483198.zip |
Remove references to older Cygwin releases from documentation
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/doc/setup-maxmem.xml')
-rw-r--r-- | winsup/doc/setup-maxmem.xml | 34 |
1 files changed, 7 insertions, 27 deletions
diff --git a/winsup/doc/setup-maxmem.xml b/winsup/doc/setup-maxmem.xml index 1f5ee31a6..d5e5b9913 100644 --- a/winsup/doc/setup-maxmem.xml +++ b/winsup/doc/setup-maxmem.xml @@ -9,12 +9,13 @@ Cygwin's heap is extensible. However, it does start out at a fixed size and attempts to extend it may run into memory which has been previously allocated by Windows. In some cases, this problem can be solved by changing a field in the file header which is utilized by Cygwin since -version 1.7.10 to keep the initial size of the application heap. If the -field contains 0, which is the default, the application heap defaults to -a size of 384 Megabyte. If the field is set to any other value between 4 and -2048, Cygwin tries to reserve as much Megabytes for the application heap. -The field used for this is the "LoaderFlags" field in the NT-specific -PE header structure (<literal>(IMAGE_NT_HEADER)->OptionalHeader.LoaderFlags</literal>).</para> +to keep the initial size of the application heap. If the field contains 0, +which is the default, the application heap defaults to a size of 384 Megabyte +on 32 bit Cygwin, 512 Megabyte on 64 bit Cygwin. If the field is set to any +other value between 4 and 2048, Cygwin tries to reserve as much Megabytes +for the application heap. The field used for this is the "LoaderFlags" field +in the NT-specific PE header structure +(<literal>(IMAGE_NT_HEADER)->OptionalHeader.LoaderFlags</literal>).</para> <para> This value can be changed for any executable by using a more recent version @@ -42,25 +43,4 @@ up to 3 GB per process. See the Microsoft article for more information. </para> -<note> -<para> -Older Cygwin releases only supported a global registry setting to -change the initial heap size for all Cygwin processes. This setting is -not used anymore. However, if you're running an older Cygwin release -than 1.7.10, you can add the <literal>DWORD</literal> value -<literal>heap_chunk_in_mb</literal> and set it to the desired memory limit -in decimal MB. You have to stop all Cygwin processes for this setting to -have any effect. It is preferred to do this in Cygwin using the -<command>regtool</command> program included in the Cygwin package. -(see <xref linkend="regtool"></xref>) This example sets the memory limit -to 1024 MB for all Cygwin processes (use HKCU instead of HKLM if you -want to set this only for the current user): - -<screen> -$ regtool -i set /HKLM/Software/Cygwin/heap_chunk_in_mb 1024 -$ regtool -v list /HKLM/Software/Cygwin -</screen> -</para> -</note> - </sect1> |