set_memory_pressure_settings
Description:
[ Version ( since = "2.34" ) ]
public static void set_memory_pressure_settings (MemoryPressureSettings settings)
public static void set_memory_pressure_settings (MemoryPressureSettings settings)
Sets settings
as the MemoryPressureSettings.
Sets settings
as the MemoryPressureSettings to be
used by all the network processes created by any instance of
WebsiteDataManager after this function is called.
Be sure to call this function before creating any WebsiteDataManager , as network processes of existing instances are not guaranteed to receive the passed settings.
The periodic check for used memory is disabled by default on network processes. This will be enabled only if custom settings have been set
using this function. After that, in order to remove the custom settings and disable the periodic check, this function must be called passing
null as the value of settings
.
Parameters:
settings |
a WebKitMemoryPressureSettings. |