1. A computer-implemented method for managing a web services application, the method comprising: determining whether a specified amount of time has passed since a last time that a particular web services application has received a message; and in response to determining that the specified amount of time has passed since the last time, causing the particular web services application to free at least a portion of memory that is allocated to one or more data structures that the particular web services application uses, thereby making the portion of memory available to one or more other web services applications.