I see an ever increasing list of new functions in PostGIS, some of which involve GEOS (e.g. ST_ClusterKMeans). Some functions (e.g. those in pgrouting) rely on other libraries (e.g. BGL).
My impression is that many of these underlying libraries (often in C/C++) do not handle buffers management between the memory and secondary memories/storage/disks.
So do the PostGIS functions on top of them work on large data sets that cannot be stored in the physical (or virtual) memory?
If so, where do these buffer management capabilities come from (from the point view of implementation)?