penpot icon indicating copy to clipboard operation
penpot copied to clipboard

Penpot very slow and crashes with large component library (imported from Figma)

Open tanshanli opened this issue 3 months ago • 4 comments

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.

Image

tanshanli avatar Sep 17 '25 09:09 tanshanli

When the webpage crashes, it shows the error code: RESULT_CODE_HUNG

tanshanli avatar Sep 17 '25 09:09 tanshanli

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.

Image

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!

aliGhadyani avatar Oct 05 '25 03:10 aliGhadyani

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.

ARoese avatar Nov 09 '25 00:11 ARoese

I have the same problem, it makes the app unusable

Taffroi avatar Nov 20 '25 18:11 Taffroi