[#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&period; Return size&lowbar;t max if there is no limit or the limit is unknown&period; Return 0 if no memory can be locked at all&period;

== Synopsis

Declared in `&lt;support&sol;lockedpool&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
size&lowbar;t
GetLimit() = 0;
----

== Return Value

The maximum number of bytes that may be locked by this process&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
