Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

java memory puzzle  RSS feed

 
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!