Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Memory Leak in Java Text Package

  Asked By: Ketan    Date: Jan 17    Category: Java    Views: 803
  

I am facing a problem of memory leak in the case of
javax.swing.text package. I open a 1MB file and load it into JTextArea
When I clear the contents of the textarea by setText("") method,
memory is not at all released. I check out from a memory profiler that
there are thousands of instances of AbstractDocument.LeafElement,
AbstractDocument.GapContent&MarkData .........

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Memory Leak in Java Text Package Or get search suggestion and latest updates.




Tagged: