Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

freeing the memory in 2D graphics..  RSS feed

 
ravi vardhin
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
when iam using 2D graphics and drawing some thing on canvas and erasing it,the data is getting added to the memory.even if i clear the drawings it is not clearing from the memory.but when iam not using 2D graphcs and draw on canvas and clear it,iam able to free the memory..
is thier any property for 2D graphcs to free the memory after
drawing some thivg on canvas.
please help,
ravi
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!