module Vips::Stats
Extended Modules
Defined in:
vips/stats.crInstance Method Summary
-
#allocations : Int
Get the number of active allocations.
-
#mem : Int
Get the number of bytes currently allocated
vips_malloc()
and friends. -
#mem_highwater : Int
Returns the largest number of bytes simultaneously allocated via vips_tracked_malloc().
-
#open_files : Int
Get the number of open files.
Instance Method Detail
def mem : Int
#
Get the number of bytes currently allocated vips_malloc()
and friends.
libvips uses this figure to decide when to start dropping cache.
def mem_highwater : Int
#
Returns the largest number of bytes simultaneously allocated via vips_tracked_malloc(). Handy for estimating max memory requirements for a program.