0x0L commented on issue #47266:
URL: https://github.com/apache/arrow/issues/47266#issuecomment-3370958770
Maybe related
```python
import os
import psutil
import numpy as np
import pyarrow as pa
n = 10_000_000
tbl = pa.table({"a": np.arange(n)})
proc = psutil.Process(os.getpid())
while True:
tbl.to_pandas()
print(f"{proc.memory_info().rss / 1024**3:.2f} GB")
```
20.0.0 is ok, 21.0.0 leaks. The leak slows down a bit a some point. Using
the `jemalloc` allocator mitigates the issue
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]