Tour page 24 of 26
All modifications made as part of a transaction must fit into memory because the sets and deletes are buffered in memory until commit. If there is more data to process that will fit in memory, one way to handle this is to process some data and self notify.
As an exercise try modifying the weak notification exercise and making it self notify. Modify the observer such that it does the following :