I've got a Macbook Pro with 3 GB of ram and Leopard; what is driving me crazy is a unix process called taskgated. If I don't put the Macbook to sleep but instead leave it running, this process will consume over 1 GB of ram. I kill it to reclaim the ram and to restore some semblance of performance. But why should this process be eating up so much memory? Bug? Corrupted plist? I can't find anything else in the discussions on this problem or by googling it, so maybe I'm unique?
It says it is started from launchd, so it's odd that it is always running on your system. Could be a bug in that daemon, or in the kernel. Perhaps connecting gdb to the PID of that daemon to look at the stack?
Thanks very much for the suggestion. Taskgated is launched by launchd, and I don't know how to pass the timeout switches. I would like to add the -t switch to those below.
The configuration file lives in /System/Library/LaunchDaemons/com.apple.taskgated.plist. You can either use the plist editor that Apple provides (might only be there if you have developer tools installed), or you could edit the file directly (it's just a text file). You will need elevated privileges to make the change.
Note that I'm not advocating mucking around with this file, since I don't really understand what that daemon does for the system as a whole. So, muck at your own risk 🙂
This thread has been closed by the system or the community team.
You may vote for any posts you find helpful, or search the Community for additional answers.
Taskgated and memory usage
Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.