I have an app that run's a process every 20 seconds during the day...
is there a way to force it to use real memory rather than virtual?
because it runs every 20 seconds, and is defaulting to normal
it has a lot of disk swapping in and out, many many times during
the day, and it seems like this
would negatively effect the life of a disk and performance of the
This is a potentially broad topic, and the correct answer probably
ultimately depends on how you decide to redo that process.
Is it polling for something (e.g. existence of a file or some state
change?). Polling is something you really ought to try to avoid.
Maybe some kind of notification would work better.
Could you change that process to just reuse it's memory (instead of
allocating and releasing space) between each run? If it's hitting
disk each time it's run, are you unnecessarily allocating a lot of
You'd probably get a much more thorough & better answer from the list
if you elaborated on what the ultimate goal of that repeating process
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden