Skip to Content

CSI Mac: How did that file get so big?



I don't know much about real-world forensics, except for what I see on television, but one thing I do know is that when you're faced with a troubleshooting mystery, you have a couple of choices: shrug your shoulders and fix the problem, or figure out what went wrong in the first place to try and prevent it from coming back again. While I don't always have the time or the smarts to suss out the root cause of every Mac issue, sometimes the issue is so curious and the cause so interesting that I feel compelled to investigate until I get to the bottom of it.

Recently, when one of my colleagues came in with a slightly-full hard drive, I went to my go-to disk space checker (the capable OmniDiskSweeper) to see where we could save a gigabyte or two. In addition to the usual suspects of iTunes podcasts long gone stale and legacy backups of Entourage databases, I came across the file you see above; it lives in ~/Library/Application Support/Chess. Why on earth would a support file for Chess.app be 1.5 gigabytes? That's crazy talk. I would love to delete it, but a file that large... might be useful or important.

Where did this bulky bucket of bits come from? Read on for the answer.
Since the .lrn sounded like it might be a "learning" file of previous chess games, I asked the user if he played chess on his Mac, and he said no. I searched for "standard.lrn large" and found no major clues, although I did learn that Apple apparently based Mac OS X's Chess.app on the freeware Sjeng engine. I decided to sleep on it... and the next morning, I had figured it out.

I remembered that on a previous machine, this user had experienced some odd issues that we suspected were hardware-related. In order to do a bit of a torture test on the processor, my IT colleagues and I decided to do overnight CPU exercises, by having Chess.app play itself for hours on end. Hence the massive .lrn file, which had carried over in the user folder through a machine migration. File deleted, mystery solved, apologies extended, user happy, and another case tucked away in the CSI: Mac archives.

Categories

Troubleshooting

I don't know much about real-world forensics, except for what I see on television, but one thing I do know is that when you're faced with a...
 

Add a Comment

*0 / 3000 Character Maximum

35 Comments

Filter by:
Kip HT

What a torture test - Chess!!

These macs are more advanced than I'd thought

August 24 2008 at 3:11 AM Report abuse rate up rate down Reply
Tironius

Did it learn that the only winning move is not to play?

August 23 2008 at 2:47 AM Report abuse rate up rate down Reply
frogbat

a great utility for determining where your hdd space is going is Whatsize. used to be freeware but i don't think it is any longer.

also shows just how much those printer drivers are taking up - just today i needed to clean up a designer's mac cos pshop needed more scratch disk space

August 22 2008 at 3:54 PM Report abuse rate up rate down Reply
Tre

An easier solution to peg the processor is to open up the terminal and just type "yes". This will use up all available cycles on all of the CPUs. It may not look like it's doing much, but it's doing it incredibly often and fast.

August 22 2008 at 3:08 PM Report abuse rate up rate down Reply
Mibrilane

@Alex: One who cannot sort out common homonyms shouldn't comment on anything being "dumbest".

August 22 2008 at 3:00 PM Report abuse rate up rate down Reply
1 reply to Mibrilane's comment
Cameron David

you'd think he would look out for stuff like that or anything else that might make him appear "retarded"


ah, yes, the goons never fail to make me shake my head...

August 22 2008 at 7:49 PM Report abuse rate up rate down Reply
Eric

The way it reads to me is that the author and the IT department were responsible for creating this huge file in the first place, and were too clueless to realize what they'd done.

Congrats on fixing something which you broke yourselves, guys!

I would never let you "detectives" near one of my Macs, that's for sure.

August 22 2008 at 2:57 PM Report abuse rate up rate down Reply
Alex

That file named losers.lrn should have your name in it. Ditto on suicide.lrn.

August 22 2008 at 2:46 PM Report abuse rate up rate down Reply
Alex

This is one of the dumbest posts I've seen yet on this site. What the hell was the point of this post?
It was your fault he had a file that large so why was it a mystery? This was so fucking retarded I actually had to comment on it. And the file was only 1.5 gigs. Big whoop. The whole post is utterly retarded. You should read over your post, like I did my comment hear, and see how completely pointless it is.

August 22 2008 at 2:44 PM Report abuse rate up rate down Reply
2 replies to Alex's comment
Max

Well, I thought it was interesting, dickhead.

August 22 2008 at 2:54 PM Report abuse rate up rate down Reply
Jeff

I think your comment was infinitely more "retarded" than this post.

August 22 2008 at 3:33 PM Report abuse rate up rate down Reply
Steve

Crap! Someone beat me to it. I was going to ask if after playing itself all night the computer had come to the conclusion that the only way to win was not to play.

Darn you, people!! :)

August 22 2008 at 2:16 PM Report abuse rate up rate down Reply
christine

i uninstalled Chess like the first day i got my macbook pro. totally useless app for me.

August 22 2008 at 2:04 PM Report abuse rate up rate down Reply
1 reply to christine's comment
Nicholas

How do you remove Chess app.?

August 22 2008 at 8:39 PM Report abuse rate up rate down Reply
Buy an ad here

Hot Apps on TUAW

Tweets

© 2012 AOL Inc. All Rights Reserved.