What exactly is the "issue" you're having? As already noted up-thread, under FreeBSD (it behaves, or at least is reported, somewhat differently under Linux), ZFS will ordinarily consume all available RAM as ARC, releasing it as necessary for other applications. So cache of 25 GB on a 32 GB system isn't in the least surprising.