Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ChrisL
    Member
    • Nov 2009
    • 14

    #1

    Turning off Spotlight indexing Mac OSX 10.6

    For those of you doing NextGen bioinformatics on a Mac, you may have noticed a process called "mds" that chews up RAM (sometimes 2 GB or more), especially when working with large files. This is the Spotlight indexer and it tries to index text characters, including the bases in analysis files. While I was performing a large TopHat run, mds was using over 2 GB RAM, which was needed by TopHat, to avoid having to use virtual memory (32 GB Mac Pro).

    The following command successfully turned mds off, as I don't need it on a machine used just for analysis:

    sudo mdutil -a -i off

    You will need an administrator level password to execute this command. The following command should turn the indexer back on, but I have not tried it:

    sudo mdutil -a -i on
  • drio
    Senior Member
    • Oct 2008
    • 323

    #2
    Many thanks to sharing this. This was a huge problem for me too.
    The global performance of the machine was severely degraded due this indexing.
    -drd

    Comment

    • Cole Trapnell
      Senior Member
      • Nov 2008
      • 213

      #3
      I just wanted to make 2 comments:

      1) You probably don't need to globally turn off Spotlight indexing. Spotlight preferences includes a place where you can add folders within which mds won't do any indexing. That way, you can keep your alignments in subdirectories of the one you specify in the preferences, without losing Spotlight for the whole machine.

      2) This problem is not specific to TopHat - any program that generates large text files (e.g. aligners that report SAM) will probably cause problems with Spotlight.

      Comment

      • ChrisL
        Member
        • Nov 2009
        • 14

        #4
        Correct, all files with text content get indexed by mds, SAM being but one example. I think for dedicated analysis computers turning off the indexer is the way to go as Spotlight is unlikely to be used. For Macs that act as both general purpose workstations as well as doing analysis Cole's suggestion would be the better option.

        Comment

        Latest Articles

        Collapse

        • SEQadmin2
          Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
          by SEQadmin2



          Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

          Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
          ...
          10-14-2026, 09:55 AM
        • SEQadmin2
          New Genomics Technologies Take Aim at Long-Standing Limits
          by SEQadmin2


          Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

          We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
          ...
          09-28-2026, 10:25 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, 10-22-2026, 11:13 AM
        0 responses
        48 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-22-2026, 10:48 AM
        0 responses
        37 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-15-2026, 10:52 AM
        0 responses
        46 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-14-2026, 05:39 AM
        0 responses
        46 views
        0 reactions
        Last Post SEQadmin2  
        Working...