Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: limiting CPU usage




On Nov 30, 2007, at 8:36 AM, Alexander Cohen wrote:

In that case, maybe you have an idea for me. I have a daemon that runs and indexes all the images on a system. For each image, it needs to open it up, get some info, close it and store that info. This is very CPU consuming and can pretty much bring the system to a halt after a while.

That doesn't seem right. Your daemon shouldn't be able to monopolize the CPU. Are you sure that's what's going on?


I wonder if what is really happening is that you're memory usage is getting out of hand and causing virtual memory thrashing.

_murat
_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >limiting CPU usage (From: Alexander Cohen <email@hidden>)
 >Re: limiting CPU usage (From: Thomas Davie <email@hidden>)
 >Re: limiting CPU usage (From: Alexander Cohen <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.