Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How can I change the cache size Google Chrome uses? ON OS X? I've found countless posts how do to things on Windows but couldn't really figure out from that how to do things on os x.

Help will be highly appreciated, thanks.

share|improve this question

migrated from stackoverflow.com Jun 2 '13 at 23:23

This question came from our site for professional and enthusiast programmers.

    
By the way, the maximum number you can set is 2147483647. Otherwise it would complain not convertible to integer(It's stored as an signed integer in Chrome). –  Ditty Oct 13 '13 at 19:15
add comment

1 Answer

up vote 1 down vote accepted

You would have to launch it from the command line with the following flag --disk-cache-size=524288000, where 524288000 is the upper limit of what it could be set to.
You could try to make a script that launches it with the augment.

Something like:

#!/bin/sh

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --disk-cache-size=524288000 &

Then name it with a .sh extension, and chmod u+x /path/to/file.sh and you should be good.

share|improve this answer
    
Is there no way to add the argument to the default shortcut? :/ –  AreusAstarte Jun 1 '13 at 16:55
    
To my knowledge, apple doesn't make it easy to use run time flags with GUI apps; which is why I suggested writing a short script. –  demure Jun 1 '13 at 17:05
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.