Skip to content

ValueError: Unable to allocate memory #3

@saegomat

Description

@saegomat

Hello @ofajardo,
This is a great package!

My RDS files are 300MB+ and I run into memory issues

import pyreadr
scr = 'xyz.rds'
result = pyreadr.read_r(scr)
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\tsaeger\AppData\Local\Continuum\anaconda3\lib\site-packages\pyreadr\pyreadr.py", line 39, in read_r
parser.parse(path)
File "pyreadr\librdata.pyx", line 113, in pyreadr.librdata.Parser.parse
File "pyreadr\librdata.pyx", line 138, in pyreadr.librdata.Parser.parse
ValueError: Unable to allocate memory

It works like a champ for smaller RDS files. I have not tested where the cut-off is. My system has 32GB of RAM.

Best,
--T

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions