Jokser commented on issue #13837:
URL: https://github.com/apache/arrow/issues/13837#issuecomment-1210454980
@rok
I tried it but without success.
The memory usage goes down only after explicit system pool release call:
```
spdlog::info("RSS before default pool release: {} bytes", getCurrentRSS());
arrow::default_memory_pool()->ReleaseUnused();
spdlog::info("RSS after default pool release: {} bytes", getCurrentRSS());
arrow::system_memory_pool()->ReleaseUnused();
spdlog::info("RSS after system pool release: {} bytes", getCurrentRSS());
```
```
[2022-08-10 13:01:47.281] [se_logger] [info] RSS before default pool
release: 29080805376 bytes
[2022-08-10 13:01:47.284] [se_logger] [info] RSS after default pool release:
29082968064 bytes
[2022-08-10 13:01:48.627] [se_logger] [info] RSS after system pool release:
6827900928 bytes
```
It was cut-off of ~22Gb. But there is still ~7Gb of data in RSS.
--
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]