MAC Pro shows high memory usage for applications

Source: Internet
Author: User

  This is the Mac from the system Information.app (about this Mac).

  Mechanism

When we click on the Store button, the Mac background will be spotlight to audio,movie,apps the properties of the file.

Spotlight is indexed by the Mac's set of metadata mechanisms, metadata can be understood as a quick classification and metadata index for the entire file system, like a dictionary catalog, which can be felt as being stored in the root directory.

The MAC has a specification for the entire metadata, which can be viewed by command Mdls, Attributes Kmditemcontenttypetree, and incremented properties.

So for the size of the statistic apps, it is to sum up all the "com.apple.package".

  Workaround:

In some cases, there may be an error in the metadata index, at which point we can see that the statistical results are problematic or that the deviations are too large, and this is the time to go through the following steps

  1. Make sure spotlight is not closed

Show enabled into step two, or you need to open the spotlight.

Alexs-imac:documents alex$ sudo mdutil-i on/

  2. Metadata the entire disk of the Mac, re-establish the index

sudo mdutil-e/

This operation is more disk-consuming Io, the obvious feeling is that the system is not so smooth, if the disk is large, more files, it may take a long time.

It's best to work out, or to have a meal gap operation.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.