mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 15:24:05 +00:00
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:
parent
5ec0362a72
commit
1b04dbf3e9
|
@ -54,6 +54,8 @@ win32 {
|
|||
Debug:CONFIG += console
|
||||
|
||||
Release:DEFINES += NO_CONSOLE
|
||||
|
||||
QMAKE_LFLAGS += -Wl,--large-address-aware
|
||||
}
|
||||
|
||||
unix:!mac {
|
||||
|
|
Loading…
Reference in a new issue