This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

memory management

 
Micah Wedemeyer
Ranch Hand
Posts: 68
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does closing a BufferedReader flush it from memory? I have a program that is constantly running out of memory and I wonder if the problem lies in all the URLConnections that I create and then the BufferedReaders I create from them.
I close the BufferedReaders, but it doesn't seem to help. Also, is there a way to close URLConnections and force them to be flushed from memory?
Micah
P.S. Any general memory management tips would be nice!
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic