Cannot resolve the "cannot allocate vector of size … " error

In what directory is Rtools installed?