Continue my research.
I added <EmccMaximumHeapSize>268435456</EmccMaximumHeapSize>
directive to the project file. This tag decreases the maximum memory for the app on mobile device browsers. Didn't help.
Then I tried AOT compilation <RunAOTCompilation>true</RunAOTCompilation>
. It took much longer to compile the project. Didn't help.