mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 07:18:08 +00:00
Completly disable Windows cache
This commit is contained in:
parent
3c650038e2
commit
74081bc6f8
@ -403,10 +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;
|
sessionSettings.disk_io_write_mode = session_settings::disable_os_cache;
|
||||||
//sessionSettings.disk_io_read_mode = session_settings::disable_os_cache;
|
sessionSettings.disk_io_read_mode = session_settings::disable_os_cache;
|
||||||
sessionSettings.disk_io_write_mode = session_settings::disable_os_cache_for_aligned_files;
|
|
||||||
sessionSettings.disk_io_read_mode = session_settings::disable_os_cache_for_aligned_files;
|
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#if LIBTORRENT_VERSION_MINOR > 15
|
#if LIBTORRENT_VERSION_MINOR > 15
|
||||||
|
Loading…
Reference in New Issue
Block a user