No, no, these are not at all the same caches (there are lots of caches in XWiki
).
The setting for the security cache is in file:
WEB-INF/cache/infinispan/config.xml
in your XWiki installation.
And you need to add in there something like this:
<local-cache name="platform.security.authorization.cache" statistics="true">
<memory>
<object size="100000"/>
</memory>
</local-cache>
at the end, just before the closing tag </cache-container> , next to the other local caches.
Of course, you need to restart the wiki after making this change.