mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-24 07:05:25 -07:00
Fix possible memory usage problem on Windows
This commit is contained in:
parent
e493fb9f26
commit
b209eaff37
1 changed files with 2 additions and 2 deletions
|
@ -403,8 +403,8 @@ void QBtSession::configureSession() {
|
||||||
#ifdef Q_WS_WIN
|
#ifdef Q_WS_WIN
|
||||||
#if LIBTORRENT_VERSION_MINOR > 14
|
#if LIBTORRENT_VERSION_MINOR > 14
|
||||||
// Fixes huge memory usage on Windows 7 (especially when checking files)
|
// Fixes huge memory usage on Windows 7 (especially when checking files)
|
||||||
sessionSettings.disk_io_write_mode = session_settings::disable_os_cache_for_aligned_files;
|
sessionSettings.disk_io_write_mode = session_settings::disable_os_cache;
|
||||||
sessionSettings.disk_io_read_mode = session_settings::disable_os_cache_for_aligned_files;
|
sessionSettings.disk_io_read_mode = session_settings::disable_os_cache;
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
// Queueing System
|
// Queueing System
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue