Github user icexelloss commented on the issue:
https://github.com/apache/spark/pull/15821
> An instance of this must be used each time a ArrowRecordBatch is created
and then the batch and allocator must be released/closed after they have been
processed
I think it would useful to add test to check memory leaks in error cases,
for instance:
* Have a dataframe that throws exception after n rows. Invoke the arrow
conversion function, and check allocator memory usage.
* Have a dataframe that is slow, invoke the arrow conversion function,
cancel the task, and check allocator memory usage.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]