lonboard icon indicating copy to clipboard operation
lonboard copied to clipboard

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

Open kylebarron opened this issue 1 year ago • 2 comments

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 avatar Sep 05 '24 19:09 kylebarron

Should probably verify that .free does in fact work: https://github.com/kylebarron/parquet-wasm/issues/591#issuecomment-2353772203

kylebarron avatar Sep 16 '24 22:09 kylebarron

@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

pellicceama avatar Sep 16 '24 22:09 pellicceama