Efficient web services application status self-control system on image-forming device
First Claim
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.
1 Assignment
0 Petitions
Accused Products
Abstract
Techniques and systems for controlling resources used by a device'"'"'s web services applications are disclosed. In one technique, web services applications release their allocated resources and enter a “sleep mode” after being inactive for a specified period of time. In one technique, a device maintains a shared pool of memory resources. The pool contains data structures that web services applications are likely to re-use. Before allocating a new instance of a needed data structure from free memory, a web services application first determines whether the shared pool already contains a currently unused but allocated instance of a data structure of the needed type, and, if the shared pool does, then the web service application uses that instance, overwriting existing data in the instance as needed. Web services applications return such data structures to the shared pool when those web services applications are finished using those data structures.
82 Citations
30 Claims
-
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. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer-readable medium carrying one or more sequences of instructions, wherein execution of the one or more sequences of instructions by one or more processors causes the one or more processors to perform the steps of:
-
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; wherein the particular web services application is not a resource manager that instructs a resource to release memory. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
-
21. An apparatus for managing a web services application, the apparatus comprising:
-
means for determining whether a specified amount of time has passed since a last time that a particular web services application has received a message; and means for causing, in response to determining that the specified amount of time has passed since the last time, 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; wherein the particular web services application is not a resource manager that instructs a resource to release memory. - View Dependent Claims (22, 23, 24, 25, 26, 27, 28, 29, 30)
-
Specification