Skip to content

WebGPU exceeding maxBufferSize #159

Closed

Description

@do-me

Just tested a 217M points file but got this in Chrome:

Buffer size (870585948) exceeds the max buffer size limit (536870912). This adapter supports a higher maxBufferSize of 4294967296, which can be specified in requiredLimits when calling requestDevice(). Limits differ by hardware, so always check the adapter limits prior to requesting a higher limit. - While calling [Device].CreateBuffer([BufferDescriptor]).

So it would need <1Gb of WebGPU memory but by default it only allocated <0.5Gb.

Do you think it would make sense to raise this limit based on:

  • how much memory is available
  • how much memory is needed?

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions