Changing Cache-size-mb in OS X

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
Gergeosson
Posts: 3
Joined: Mon Jun 20, 2011 3:20 pm

Changing Cache-size-mb in OS X

Post by Gergeosson »

Hi!

Transmission constantly freezes when downloading at high speeds (5 MB+).

I've found threads that indicate that changing the value of cache-size-mb is the solution:
viewtopic.php?f=2&t=11358
viewtopic.php?f=2&t=10965

Now how do I change this value in OS X (where and how)? And is the parameter-name the same in OS X as in linux?
What value should I use?
Gergeosson
Posts: 3
Joined: Mon Jun 20, 2011 3:20 pm

Re: Changing Cache-size-mb in OS X

Post by Gergeosson »

x190 wrote:Using Terminal get Transmission from "svn co svn://svn.transmissionbt.com/Transmission/trunk Transmission", edit session.c and build (⌘-B) in included .xcodeproj. Xcode should be on your install disc if you haven't installed it yet.


session.c

Line 62 DEFAULT_CACHE_SIZE_MB = 4,

Change to whatever value you want to try.
Thanks! That worked! :)

Although... the developers should add an easier way to change the value. An option in preferences would be great!
woshiysc
Posts: 2
Joined: Sun Nov 18, 2012 6:42 am

Re: Changing Cache-size-mb in OS X

Post by woshiysc »

x190 wrote:Using Terminal get Transmission from "svn co svn://svn.transmissionbt.com/Transmission/trunk Transmission", edit session.c and build (⌘-B) in included .xcodeproj. Xcode should be on your install disc if you haven't installed it yet.


session.c

Line 62 DEFAULT_CACHE_SIZE_MB = 4,

Change to whatever value you want to try.
Hi x190. I followed your step,changed DEFAULT_CACHE_SIZE_MB to 500,then use Xcode build out the proj in a folder.In the folder I found Transmission.app.Is that mean the parameter of DEFAULT_CACHE_SIZE_MB has changed to 500 just use this app withput other files?
Because I use a Mac mini as a NAS,I build the app in my other Mac,just transfer the builded app to Mac mini ,that's it?
woshiysc
Posts: 2
Joined: Sun Nov 18, 2012 6:42 am

Re: Changing Cache-size-mb in OS X

Post by woshiysc »

x190 wrote:First, I think 500 MB is way too big and may cause other problems. The rest is ---yes.
thx x190,e...my Mac mini only use as a NAS for 2 Macs,and it has 6GB+ free memory every time.So I think 500MB cache may be OK for the situation. :idea:
Post Reply