setMemorySource

Sets memory source used for all operations.