IDEA-132227 DOM stubs stores large strings [a=Yann.Cebron]
(cherry picked from commit 77bf19e)