Skip to content

Studio freezes when query output result count is high #820

@shreyas1599

Description

@shreyas1599

Description

When I run a fetch query with a large number (eg: 10000) results, more than one time, Studio freezes and stops responding. I'm assuming because it can't handle the rendering a second time.

The query I run fetches all the attributes of an entity (each having ~10 attributes).

Environment

  1. TypeDB distribution: Core
  2. TypeDB version: 2.26.0
  3. Environment: Mac
  4. Studio version: 2.26.0

Reproducible Steps

  1. Set up
    Run a fetch query which fetches ~10000 results (each entity in the response with ~10 attributes)

Additional information

Relevant logs from TypeDB or Driver: No error logs in TypeDB server. Problem probably only has to do with Studio rendering it.

Possible solution to this specific case: I'm not aware of the feasibility of this, but if there could be an option for a user to manually clear the output buffer or even Studio clears the output buffer on its own?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions