simulator: do not allocate a buffer per method cache entry to avoid excessive memory consumption