tool · inferred from evidence
RangeError
A JavaScript error type indicating a range-related issue, here specifically 'Map maximum size exceeded'.
- RangeError: Map maximum size exceeded when uploading large file to Apify key-value store
Pass the data as a `ReadableStream` instead of a fully materialized Buffer/string. Convert the file into a ReadableStream and hand that to `Actor.setValue()`; the reporter confirmed this works for almost any file size.