Penpot very slow and crashes with large component library (imported from Figma)
Description: When using a large Figma component library (e.g. this one), Penpot becomes extremely slow and often crashes.
Environment:
Penpot version: 2.8 (Docker deployment)
Server: 64GB RAM
Client: Windows 11, Chrome 140.0.7339.128 (64-bit), 128GB RAM
Problem:
Same components work fine in Figma
In Penpot, memory usage on Chrome rises up to ~7GB
Frequent crashes / unresponsiveness when opening or interacting with the library
Steps to reproduce:
Import the linked Figma component library into Penpot
Try to open or interact with it
Observe browser memory usage and crashes
Expected behavior: Penpot should handle the library with performance closer to Figma and not crash.
When the webpage crashes, it shows the error code: RESULT_CODE_HUNG
Description: When using a large Figma component library (e.g. this one), Penpot becomes extremely slow and often crashes.
Environment:
Penpot version: 2.8 (Docker deployment)
Server: 64GB RAM
Client: Windows 11, Chrome 140.0.7339.128 (64-bit), 128GB RAM
Problem:
Same components work fine in Figma
In Penpot, memory usage on Chrome rises up to ~7GB
Frequent crashes / unresponsiveness when opening or interacting with the library
Steps to reproduce:
Import the linked Figma component library into Penpot
Try to open or interact with it
Observe browser memory usage and crashes
Expected behavior: Penpot should handle the library with performance closer to Figma and not crash.
![]()
I had same problem but when I discovered these parameters in example docker-compose file and playing with it's values worked fine for me
x-body-size: &penpot-http-body-size
# Max body size (30MiB); Used for plain requests, should never be
# greater than multi-part size
PENPOT_HTTP_SERVER_MAX_BODY_SIZE: 31457280
# Max multipart body size (350MiB)
PENPOT_HTTP_SERVER_MAX_MULTIPART_BODY_SIZE: 367001600
Penpot is still slow and uses lots of memory but at least doesn't crash!
I also have this problem. Importing and using this component library causes freezes in the UI. It feels like penpot is loading all 7k components whenever you interact with any of them.
I have the same problem, it makes the app unusable