[#LockedPageAllocator-GetLimit] = xref:LockedPageAllocator.adoc[LockedPageAllocator]::GetLimit :relfileprefix: ../ :mrdocs: Get the total limit on the amount of memory that may be locked by this process, in bytes. Return size_t max if there is no limit or the limit is unknown. Return 0 if no memory can be locked at all. == Synopsis Declared in `<support/lockedpool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual size_t GetLimit() = 0; ---- == Return Value The maximum number of bytes that may be locked by this process. [.small]#Created with https://www.mrdocs.com[MrDocs]#