PVF execution currently has a memory limit of 128MB, which is the same as Cumulus uses for its block import pipeline. While collators execute state transitions by reading parachain data from disk locally, parachain validators must load state proofs into memory. Therefore, they should have a higher memory limit than collators. Otherwise, a parachain block that made full use of memory when executed by the collator could fail to be executed by validators. To fix this, we propose increasing the memory limit for PVF execution to 512MB.
Please note that a similar proposal has already been successfully executed in Kusama. As this proposal was submitted on the Whitelisted Caller track, Fellowship will be voting on a proposal to whitelist this hash.
set_config_with_executor_params {}: set_executor_params(RawOrigin::Root,
ExecutorParams::from(&[ExecutorParam::MaxMemoryPages(8192)][..]))
- Call data: 0x332e040100200000
- Call hash: 0x1c356149b664ec3f7d89eeb56a3469bd5f468ae7fafa2b13f2423618db6c922e