[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] Wget keeps crashing on me

From: Eli Zaretskii
Subject: Re: [Bug-wget] Wget keeps crashing on me
Date: Mon, 15 May 2017 06:02:26 +0300

> From: William Higgs <address@hidden>
> Cc: <address@hidden>,
>       'Jernej Simončič' <jernej|address@hidden>
> Date: Sun, 14 May 2017 21:17:02 -0400
> Hey guys.  So while I was doing some research, I found the following post
> located at
> https://stackoverflow.com/questions/35004832/wget-exe-for-windows-10/3796296
> 5#37962965
> :
> "eternallybored build will crash when you are downloading a large file.
> This can be avoided by disabling LFH (Low Fragmentation Heap) by GlobalFlag
> registry."

Makes absolutely no sense to me.  LFH is the default heap allocation
strategy on MS-Windows since Vista; disabling it is only justified
when running a program under a debugger.  Disabling LFH globally for
your entire system means you risk running out of heap memory in some
memory-intensive applications, utterly unrelated to wget.

If that particular build of wget crashes when LFH is in use, it most
probably means a subtle memory-allocation bug, which is simply swept
under the carpet by changing the algorithm for heap allocation.  So I
would suggest to simply switch to a different build of wget, instead
of compromising your entire system.

> However, after looking into how to do this, I cannot find an explanation as
> to how to do this.  Can someone please provide some assistance?


But I'm not sure this will work on Windows 10, and I urge you not to
do this in the first place.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]