A method, computer readable medium and device are provided for freeing
memory in a device with limited memory, in which a plurality of pen
strokes have been recorded, in electronic form in the memory in
association with a page address of one of a plurality of logical pages
and a recording time. The method, computer readable medium and device
provide for identifying page address for the plurality of pen strokes
recorded in the device; identifying the recording time of the most
recently recorded pen stroke associated with each of the identified page
addresses; selecting the page address among the identified page addresses
which has the oldest most recently recorded pen stroke; and deleting all
the pen strokes associated with the selected page address.