Azure / Azure/AzureStor

storage_load_rds gives error due to memory while download and then read_rds works

Open
#120 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
R
Stars
68
Forks
27
Avg merge
2d 7h
Merged PRs (30d)
1

Description

Is there a reason for this?
I cannot use `storage_load_rds()` on a VM with 256 GB of RAM but I can download the file and read it in using `read_rds()`.


```
> full_mtbl <- storage_load_rds(azure_connection$container_dev_model, "path_to_model.rds")
|========================================================================================================================================================================================| 100%
Error: cannot allocate vector of size 3.9 Gb

> storage_download(azure_connection$container_dev_model, "path_to_model.rds")
|========================================================================================================================================================================================| 100%
> full_mtbl <- read_rds("model.rds")
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.