[FFmpeg-devel] [PATCH 2/3] configure: Set large address aware.
t.rapp at noa-audio.com
Mon Sep 29 15:17:47 CEST 2014
On 28.09.2014 10:49, Reimar Döffinger wrote:
> Note the documentation for that option:
>> The /LARGEADDRESSAWARE option tells the linker that the application can
>> handle addresses larger than 2 gigabytes.
> This flag is _only_ used to signal that an application can deal
> with addresses that use more than 31 address bits.
> I.e. it is only for those horribly misdesigned programs that
> thought "oh, let's store some extra stuff in that unused high bit
> of the address". Which FFmpeg definitely does not.
I guess you meant something like "it is [not enabled by default because
of] those horribly misdesigned programs ..."
I agree that it makes sense to set this flag. A few weeks ago I stumbled
over an out-of-memory error case with 4 parallel FFV1 encoding outputs
on Win32 and recompiled FFmpeg with this compiler flag enabled.
This article has some nice info on how the flag affects maximum
available memory space:
More information about the ffmpeg-devel