Skip to content

Row JSON expand viewer causes memory issues on large values #33

Closed

Description

@broisnees

Expanding a row whose JSON is very large (e.g. a Buffer serialized as a data byte array of thousands of numbers, or large jsonb) causes high memory use / sluggishness.

Cause
The raw-view preview truncated long strings but kept every array item and object key, so the stringified text ballooned and then got syntax-highlighted (a span per token).

Requested / Expected
For large values, do not run syntax highlighting, and bound the preview breadth. Full value should still be available via Copy JSON.

Addressed by #23.

Activity

  1. broisnees commented on Jul 5, 2026

    @broisnees
    CollaboratorAuthor

    Moved to the public repo: #15. Tracking there instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions