I have problem with my editor application. When i load a big size of file (>9mb), an error message appear "java.lang.OutOfMemoryError: Java heap space". I use JTextArea. Can someone give me solution to solve this problem? Because i can't solve that, i just give warning message if a big size of file loaded. Thank's..