Shouldn't you use nMaxDbCache here as well?