|
Geometry : |
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2021-02-26 20:13:46
On Fri, 26 Feb 2021 at 08:51, Panagiotis SIMATIS via Geometry
<geometry_at_[hidden]> wrote:
>
> I am a research student and I am using the RTree by geometry boost.
> Can someone suggest a way to calculate the size of the RTree in bytes?
> In addition, is there a way I can find the total number of nodes in the index?
Here is an old sample of mine with collector of the index statistics
https://gist.github.com/mloskot/5715329
Although the allocator suggestion is a good one, I think,
you could also calculate or estimate memory size of index
using the statistics collector approach.
Best regards,
-- Mateusz Loskot, http://mateusz.loskot.net
Geometry list run by mateusz at loskot.net