aspose file tools*
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
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!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: memory management