Ah well that's the thing. We're talking about 130mb of PHYSICAL memory. Virtual memory in OS X is something I never worry about. Well so far you can scratch off ~Documents as being the culprit.
My 2 cents.
As long as it's not affecting performance or any other app in any adverse way, why are you doing all the things that have been suggested in this thread so far?
I'm not going off messing around with Colloquy or Safari right now cause they're both chewing up half a gig of physical memory right now. There's something called memory management, it works, my apps work, performance isn't horrible..I'm happy.
Oh, I'm fully aware of it all. I just don't really get why someone would spend the effort doing so.If bonecandy wants to find out what's causing this, then why stop him/her?...
Not everyone's system is the same though, and with an indexing+search utility like Spotlight which is dependent on the contents of your hard drive, I can't see why usage stats wouldn't changeLook, I don't get obsessed about any other program because that's how this or that particular program has always been - it's in the code...
Oh, I'm fully aware of it all. I just don't really get why someone would spend the effort doing so.
Not everyone's system is the same though, and with an indexing+search utility like Spotlight which is dependent on the contents of your hard drive, I can't see why usage stats wouldn't changeHalf the reason why I disabled spotlight, cause it's really annoying indexing terabytes of data and on top of that is completely awful when you have old files updating and new files showing up constantly - not necessarily just a large number of files.
It's sort of like how I know Colloquy is taking up 600mb physical memory, but that's only because I have 40 irc channels open in it. Someone with 1 will be using way less than that, probably in the low double digits.
I'm just saying. You seem to be doing an awful lot trying to figure it out, and I guess I just can't understand why you'd want toHaving spent all this time in this thread now, I'd like to know what it was that made spotlight do that.
edit- Oh yeah, I've narrowed it down to a list of folders in my Library: 'Address Book Plug-ins' through 'Icons'. I'll remove the folders one by one.
Well, the only file that I have in my folder that's not in yours is: iMovie.mdimporterTry looking in /Library/Spotlight, maybe one of your third party apps has installed a Spotlight plugin that is a bit memory greedy.
My folder has:
AppleWorks.mdimporter
iWeb.mdimporter
Keynote.mdimporter
Microsoft Office.mdimporter
Pages.mdimporter
SourceCode.mdimporter
and I don't have the issue, so it probably isn't these ones.
i fail to see why you should be concerned about spotlight's memory usage increasing. I regularly see safari blow past 2gb of virtual memory and don't really care..
In any case, I'll bet my money on ~/Library/App Support or ~/Library in general. Maybe ~/Music or ~/Documents based on what you're doing.
Just like how when you hit your funny bone it hurts, so why hit it. Some things are not indicators of something more serious, like in this case.So it seems the problem is not that mds uses a lot of memory, the problem is that he is annoyed because mds uses a lot of memory. Like you go to the doctor and say "it hurts when I do this" and the doctor says "don't do it then!"
Okay, so please tell me how I was wrongWouldn't you be annoyed if there was something that was making mds use a lot of memory?
Anyway, I'm pretty sure I've found the culprit. It looks like it's my last.fm folder in my application support folder.
So it seems the problem is not that mds uses a lot of memory, the problem is that he is annoyed because mds uses a lot of memory. Like you go to the doctor and say "it hurts when I do this" and the doctor says "don't do it then!"
That's exactly what I've been saying! lol! ;-) Perhaps in different words. I was trying to explain this when i said, "This leads me to believe that I CAN change how much memory Spotlight using because it SEEMS to be an issue with my personal system." It WAS an issue with my system that was making Spotlight use a lot of memory (hell, my index database is only 60mb!).I said systems are unique, and you might be doing something that may have been affecting Spotlight. And well, if last.fm was doing it, then there you go.
export IFS=$'\n'; rm -f /tmp/numfiles.txt; for x in `find . -type d -depth 1`; do echo `find "$x" | wc -l` $x | tee -a /tmp/numfiles.txt; done; sort -n /tmp/numfiles.txt
1227 ./Music
1581 ./webtosh
2082 ./Desktop
2291 ./pbx
2802 ./Audio
8281 ./Movies
10305 ./.Trash
17235 ./web2
19402 ./Documents
30894 ./Downloads
68839 ./Pictures
72492 ./Library
249215 ./dev