According to another feature of the invention, code may be included for estimating an amount of memory objects used by the sequence including instructions for estimating a fraction of the monitored instructions for which no next instruction is detected; and multiplying the fraction with a total number of the operations executed by the sequence of instructions.