Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable arrow-js-ffi (under feature flag?) #627

Open
kylebarron opened this issue Sep 5, 2024 · 2 comments
Open

Enable arrow-js-ffi (under feature flag?) #627

kylebarron opened this issue Sep 5, 2024 · 2 comments

Comments

@kylebarron
Copy link
Member

Maybe we should have some (non-public) way to serialize options from Python to JS? E.g. in this case whether to use arrow-js-ffi.

@kylebarron
Copy link
Member Author

Should probably verify that .free does in fact work: kylebarron/parquet-wasm#591 (comment)

@pellicceama
Copy link

@kylebarron AFAIK .free doesn't work for ParquetFile but it seems to work for RecordBatch. Testing some more.

https://gist.github.com/pellicceama/395e5a2fa7d6a579517874a72c01ba44

Here's the output of this script

Initial memory post loading wasm 1.5625 MB
File instance created, memory = 1.625 MB
Stream created, memory = 1.625 MB
File instance freed, memory = 1.625 MB
Memory 10 seconds after freeing file instance = 1.625 MB
➜  wasm-memory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants