I used RichTextCtrl for show log. If RichTextCtrl data (text) increase more than x bytes size then program prompt error!
Is any limitation for String or RichTextCtrl data?
2GB for String. Hard to say what is RichText limit... but I think at least 200M of characters (depends on formatting).
I think RichTextCtrl (and String) are quite tested by time. But I can fix your problem if I get a testcase:)