load text to share memory