Any way to optimize the memory usage of Era? #842
Replies: 1 comment
-
The high memory usage of the ZKsync Era external node, often exceeding 30GB, is primarily due to the complex operations and data structures required to support the zkEVM and its associated functionalities. Unlike simpler EVM-based chains, ZKsync Era's architecture involves more intensive computation and state management to ensure the security and efficiency of zero-knowledge proofs. Here are a few technical insights into why ZKsync Era nodes may require more memory:
Currently, there isn't a documented method to significantly reduce the memory usage without potentially compromising performance or security. However, you can ensure that your node is running on an optimized configuration and that unnecessary services or processes are disabled to minimize memory usage. For more detailed technical support and potential optimizations, you might want to engage directly with the ZKsync developers community on GitHub discussions. They could provide more specific advice or updates on memory optimization efforts. Your feedback helps us serve you better. If this fully addresses your question, please give it a thumbs up. If it doesn't, please give it a thumbs down. This will inform the community and team so we can improve our support. |
Beta Was this translation helpful? Give feedback.
-
Team or Project
No response
Module Affected
Rust Version
nightly-2024-08-01
Operating System
Issue Description
We are running the external nodes for Era, seems the external node consumes lots of memory (>30GB), is there a way to optimize the memory usage of the external node. We have external node for cronos zkevm, zklink and the Zero chain too, these chains cost 4-8GB memory, so could we have a technical answer where does the >30GB memory consumes in Era?
Expected Behavior
the external node cost much less memory
Current Behavior
the external node cost >30GB memory
Repository Link (if applicable)
No response
Additional Details
No response
Prior Research
Beta Was this translation helpful? Give feedback.
All reactions