CollabSoft Logo
Menu
Close
Need more help?
Support
Figma for Jira Pro
/

Troubleshooting

Figma for Jira Pro is causing performance issues (Data Center)

The Figma for Jira Pro app allows users to attach Figma designs to Jira issues. Whenever a user views an issue that has a Figma design attached all the attached designs (and their corresponding metadata) is retrieved from the Figma API.

Each design is processed by the Jira instance and stored in memory during transfer from the Figma API. Given that the size of a Figma design can range from <1MB to >100MB, large Data Center instances with many active users can experience issues with resources like CPU and memory consumption. This can result in Java heap space Out of Memory errors in the Jira application log.

In addition, due to the potential size of the Figma designs network requests to the Figma API are often long-running tasks which may cause the Jira Data Center system to become unresponsive as the available number of worker threads of the application container are being consumed by these requests.

If you are experiencing issues with resource consumption, the first step is to enable caching. This will limit the amount of times the Jira instance will have to connect with the Figma API to retrieve the same content. In large Jira Data Center instances, this can reduce the memory consumption by the Figma for Jira app as the design will only be stored in memory once.

If you continue to experience  issues with resource consumption after you have enabled caching, you will need to allocate more resources to your Data Center nodes in order to resolve the issue.

Figma designs are loading very slowly/not at all (Data Center)

There are multiple reasons you may experience performance issues when trying to view Figma designs.

One of those reasons can be related to Figma API rate limiting. Whenever a user views an issue that has a Figma design attached all the attached designs (and their corresponding metadata) is retrieved from the Figma API. As the Figma API rate limits are very strict, it is very easy to exceed the number of API requests for larger Data Center instances with many active users.

Another reason for loading issues can be that the Figma files are very large. A Figma design size can range from <1MB to >100MB. Retrieving a Figma design directly from the Figma API can become a long-running task, with requests taking 30-60 seconds to complete.

Both these issues can be resolved by enabling caching.

  1. When caching is enabled, the Figma for Jira Pro app will store the Figma API response in memory. As this does not require a request to the Figma API, rate limits do not apply.
  2. By putting the designs in cache, they will now be readily available in the Jira Data Center instance and do not require a request to the Figma API, improving load time performance from seconds to milliseconds (depending on the size of the design).

Enable caching

You can configure the caching feature in by taking the following steps:

  1. Navigate to Jira administration.
  2. Select the Manage apps tab.
  3. Under Figma for Confluence side bar, click Caching.
  4. Tick or untick the box to enable/disable the feature.
  5. Set the expiration policy, which determines whether an item is evicted after it is written to cache or after it has been accessed.
  6. Set a maximum amount of items to be stored in cache.
  7. Set a time to live using the cache timeout box.
  8. Click Save.
  9. For the changes to take effect, restart the app.
Next
Article title
On this page