Claims
- 1. A method of managing memory allocation in a printing system with a plurality of clients, a first one of the of clients storing a first set of image data, corresponding with a first image in memory for inputting or outputting the first image and a second one of the plurality of clients storing a second set of image data, corresponding with a second image, in memory for inputting or outputting the second image, comprising the steps of:
- a) allocating to the first one of the plurality of clients a first block set including a plurality of blocks with one of the plurality of blocks comprising an end of image block having a first part and a second part;
- b) filling up a first one of the plurality of blocks with a first portion of the first set of image data;
- c) filling up the first part of the end of image block with a second portion of the first set of image data, so that an end of the first part of the end of image block stores a corresponding end of the first image;
- d) allocating to the second one of the plurality of clients a second block set including at least one whole block and the second part of the end of image block;
- e) filling up the second part of the end of image block with a first portion of the second set of image data so that usage of memory space for storing image data is maximized; and
- f) filling at least a portion of the at least one whole block with a second portion of the second set of image data.
- 2. The method of claim 1, further comprising the steps of:
- designating the second part of the end of image block with an identifier;
- placing the identifier in a partial block list; and
- accessing the partial block list to determine a space, in memory, in which the first portion of the second set of image data is to be stored.
- 3. The method of claim 2, in which the partial block list includes a partial block part other than the second part, further comprising the step of combining the partial block part with the second part to avoid memory fragmentation.
- 4. The method of claim 1, in which the first block set includes a selected number of blocks, further comprising the step of adjusting the selected number of blocks.
- 5. The method of claim 1, wherein said one of the plurality of blocks and the first part of the end of image block with image data generated from an image capture service, the image capture service including a system for converting information disposed on a document, to the first set of image data.
- 6. The method of claim 1, wherein the memory includes volatile and non-volatile memory sections with said step b) including writing the first portion of the first set of image data into the volatile memory and copying the first portion of the first set of image data into the non-volatile memory section.
- 7. The method of claim 1 further comprising the step of partitioning at least a portion of the memory to create the first block set.
Parent Case Info
This is a division of application Ser. No. 08/315,274, filed Sep. 29, 1994 U.S. Pat. No. 5,579,452.
US Referenced Citations (13)
Divisions (1)
|
Number |
Date |
Country |
Parent |
315274 |
Sep 1994 |
|