Skip to content

Issue with persistent memory growth on repeated re-rendering #273

Closed

Description

@Pekaz

I noticed that when I did repeated re-rendering in my project, the memory kept growing.
I've also checked that this is not happening in the same situation but not using Nativewind.
Maybe I'm implementing it wrong. Has anyone else seen this behavior?

Here's a simple code I wrote to reproduce the situation
https://github.com/Pekaz/nativewind-memory-test

Additional context:
Expo SDK 53
Nativewind 4.1.23
React Native 0.79.2

  • This screenshot is a little over 2 minutes of my demo with Nativewind
Image
  • This is a screenshot done without Nativewind
Image

Activity

  1. moved this to Todo in Roadmapon Mar 26, 2026
  2. danstepanov commented on Apr 15, 2026

    @danstepanov
    Member

    Closing as likely duplicate of #245 (memory leak in VariableContextProvider). If you can confirm the memory growth persists without any CSS variables or VariableContextProvider usage, please reopen with that detail.

  3. moved this from Todo to Done in Roadmapon Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions