Skip to content

Error loading large laz files #3204

@sireeshdevaraj

Description

@sireeshdevaraj

Hi, I have an LAZ file of 400 MB, and I am trying to load it, but I am getting an error.
Error: OOM Failed to open file: undefined

const response = await fetch('/cloud_merged.laz');
const arrayBuffer = await response.arrayBuffer();
const data = await parse(arrayBuffer, LASLoader, { las : {skip : 10}, worker: true, reuseWorkers: false }); 

Also tried using the LoadInBatches. Kept getting the same error.
I'm on version 4.3.3
If you have any idea on how to proceed working with large files, I would also appreciate you pointing me in the right direction.

Note: I tried using a small file; it worked with no issues.

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