You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trino is returning only peakUserMemoryReservation to client and hiding peakNonRevocableMemoryReservation or peakTotalMemoryReservation intentionally.
But by the StatementStats there's no way to get total or system peak memory usage and might not get full sense of memory usages as memory limitations are applied to both user and system memories.
So would it be reasonable to add peakNonRevocableMemoryReservation or peakTotalMemoryReservation on the StatementStats? If so, I'll send a PR for this.
The text was updated successfully, but these errors were encountered:
We have recently removed the distinction between system and user memory - (#10574) so we don't track - peakNonRevocableMemoryReservation but I guess we could track peakTotalMemoryReservation
From https://github.com/trinodb/trino/blob/master/core/trino-main/src/main/java/io/trino/server/protocol/Query.java#L745
Trino is returning only
peakUserMemoryReservation
to client and hidingpeakNonRevocableMemoryReservation
orpeakTotalMemoryReservation
intentionally.But by the
StatementStats
there's no way to get total or system peak memory usage and might not get full sense of memory usages as memory limitations are applied to both user and system memories.So would it be reasonable to add
peakNonRevocableMemoryReservation
orpeakTotalMemoryReservation
on theStatementStats
? If so, I'll send a PR for this.The text was updated successfully, but these errors were encountered: