How to change memory priority for a scheduled task?

When I run my program without a Task Scheduler, it has a memory priority of 5, like all other programs running on my system (Windows 7).

But when working in Task Scheduler, it has a memory priority of 4, and this affects performance.

Attention! The process priority is Normal (processor priority 8), so this is not a problem! The problem with memory is the problem!

Process Explorer Screenshot:

Memory Priority 4, Process Explorer

How to change the memory priority of a scheduled task by 5? Win32 API is an acceptable solution.

+3
source share
2 answers

, , , -. ( xml), , . 0 ( ) 10 ( ). , CPU, Memory I/O.

+3

Source: https://habr.com/ru/post/1785390/


All Articles