I have a created a editor with syntax (keyword, comments, etc) with different coloring support. Using this editor, if we open large size file (>18 MB) then it get crashes. I think It seems out of memory problem.
When I did to open the file without syntax coloring (disable), we have used TextEditor API to open the file and it seems to be working fine.
But when I tried with same API and include some coloring feature in editor an try to open same file (>18MB). The application has crashed.
Any idea why this is crashing?
Thanks,
first of all, search for a crash log file named 'hs_err_pid' and try to get some informations from it
As you described, that you use coloring i can imagine that you run out of handles. if the colors/fonts/icons are not disposed, but created all the time, the system runs out of handles and can not create new UI components anymore.