This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes memory management Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "memory management" Watch "memory management" New topic
Author

memory management

Micah Wedemeyer
Ranch Hand

Joined: Jun 11, 2001
Posts: 68
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
 
subject: memory management
 
Similar Threads
memory management with BufferedReader
single arrays in java
How to make a repetitive URLConnection ?
Read all words from a text file into an array
unreported Exception error