On Windows x64, fixed #208: GoldenDict crashes when indexing huge dictionaries.

According to Microsoft documentation, on x64 systems the virtual address space
for 32-bit process can be extended from 2Gb to 4Gb if if the application is
compiled with the /LARGEADDRESSAWARE switch.

I verified that with this switch we get full 4Gb on x64 systems and the
indexing of huge dictionaries works just fine now.

On x32 systems we can't do much though.
This commit is contained in:
Tvangeste 2013-02-02 22:06:07 +01:00
parent 5ec0362a72
commit 1b04dbf3e9

View file

@ -54,6 +54,8 @@ win32 {
Debug:CONFIG += console
Release:DEFINES += NO_CONSOLE
QMAKE_LFLAGS += -Wl,--large-address-aware
}
unix:!mac {