This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java memory puzzle

 
Venkata Kumar
Ranch Hand
Posts: 110
Firefox Browser Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have seen this program in JavaSpecialists.eu



The program is throwing run time exception "java.lang.OutOfMemoryError". It looks like byte data pointed by data is not garbage collected after block scope. I am not sure why this is happening. Any comments on this?


Thanks
Venkat


 
Adam Michalik
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Search first: this question has already been asked.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic