Polkassembly Logo

Head 1
Head 3
Head 4
Head 2
Create Pencil IconCreate
TRACKS
ORIGINS
Report an issueNeed help with something?
Foot 1
Foot 2
Foot 3
Foot 4
OpenGov
View All Whitelisted Caller
Executed

Increase MaxMemoryPages to 512MB

inWhitelisted Caller
2 years ago

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

Comments (0)

PleaseLogin to comment

Proposal Passed

3

of 3

Summary

0%

Aye

AyeNay

0%

Nay

Aye (146)0.0 DOT

Support0.0 DOT

Nay (2)0.0 DOT

Voting Data

Approval%

Support%

Threshold0.00%

Threshold0.00%

Help Center

Report an Issue
Feedback
Terms and Conditions
Github

Our Services

Docs
Terms of Website
Privacy Policy

A House of Commons Initiative.

Polka Labs Private Limited 2025

All rights reserved.

Terms and ConditionsTerms of Website
Privacy Policy