This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
i use a lot of (may be 100) HashMap objects to save some data,and add these HashMap objects to ArrayList object,and then save ArrayList object to pageContext (in page scope) in a jsp page. now i have problem : when many people (may be 100 - 1000) visit my jsp page,these HashMap objects will not release memory,or release memory very slowly.and then my webserver (resin 3.0.4) will out of memory. so i want to know is there have some way to release these HashMap objects when jsp page end? please help me!i am waiting. thanks!