• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to stop/unload Servlet when is no used  RSS feed

 
Carlos Conti
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I'm developing a Java Application with several users (can be at same time). I have a Servlet static , and I'm trying to free memory so I would like to unload o stop it.

How I could do it? Thank you in advance.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's not anything you should be worrying about. Let the servlet container handle the servlets. You might want to look up the term premature optimization.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!