You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am unable to reproduce this problem. What version of RichTextFX are you using? There was a performance issue fixed in version 0.6.2 that could have fixed this.
I read a 3 MB text file put its content to my StyleClassedTextArea object with the following code:
byte[] bytes = Files.readAllBytes(file.toPath());
String str = new String(bytes, "UTF-8");
area.setStyleClass(0, area.getLength(), UNKNOWN);
area.replaceText(0, area.getLength(), str);
My program stucks and on the tast manager memory usage starts to increase from 180 MB to something around 4GB.
Am I doing something wrong?
The text was updated successfully, but these errors were encountered: