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

Do Anonymous Inner Threads use a lot of memory?  RSS feed

 
Matt Wilcko
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Do Anonymous Inner Threads use a lot of memory? I changed a method to use an anonymous inner thread and everything works fine except my application hits 70 megs instread of the previous(before inner thread) 33. Anything I should look for in the inner thread that would hog memory?
Thanks!
 
Mr. C Lamont Gilbert
Ranch Hand
Posts: 1170
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is an anonymous inner thread? Do you mean an anonymous inner class implementation of a thread or Runnable interface?
In any event, an anonymous class will use just as much memory as a non-anonymous one. You must have introduced a memory leak.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!