Large file loading/rendering with a few million lines?

i have found this example CodeMirror Huge Doc Demo but in my application i can’t go above line 1.597.830.

any suggestions what could be the problem?

So the actual problem is that when the font-size is set to a higher value it does show up in that size but the CodeMirror-sizer is not calculated accordingly with those changes, and therefore it’s to small to show all lines. Is there a way to trigger codemirror to recalculate that? refresh didn’t work

well with the standard font-size it also fails at like 2.2 million lines… so it’s really just depending on the size.

is there a way to change to CodeMirror-sizers heigth, css kina does not work, atleast not with height or min-height