Skip to content

Distances should reject computation when data is too large #7053

@janezd

Description

@janezd

What's wrong?

I accidentally connected data with 100,000 rows to Distances, causing it to try to allocate 80 GB of memory.

To its enormous shame, macOS tried to oblige, instantly froze (except for Spotify that played some up-beat music until the bitter end), and then crashed and restarted.

The Distances widget should reject computing distance matrices larger than 20,000x20,000, which takes roughly 3,2 GB.

How can we reproduce the problem?

Don't.

What's your environment?

  • Operating system: macOS
  • Orange version: 3.38.1
  • How you installed Orange: DMG

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug reportBug is reported by user, not yet confirmed by the core team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions