check texture memory