AEM的ACL缓存大小增加

时间:2022-12-09 09:42:21

I know from the below link that I have to set JVM parameter to increase the cache size.

我从下面的链接知道我必须设置JVM参数来增加缓存大小。

https://helpx.adobe.com/experience-manager/kb/cacheentrycollector-cache-size-is-too-small.html

https://helpx.adobe.com/experience-manager/kb/cacheentrycollector-cache-size-is-too-small.html

But where exactly should I set this value? In workspace.xml or some where else?

但是我应该在哪里设置这个值呢?在workspace.xml或其他地方?

-Dorg.apache.jackrabbit.core.security.authorization.acl.CachingEntryCollector.maxsize=40000

Thanks in advance!

提前致谢!

1 个解决方案

#1


3  

Please try this:

请试试这个:

  1. On <your cq5 folder>/crx-quickstart/bin, open start (Unix) or start.bat (Windows)

    / crx-quickstart / bin上,打开start(Unix)或start.bat(Windows)

  2. Search line that have this parameter: CQ_JVM_OPTS

    具有此参数的搜索行:CQ_JVM_OPTS

  3. Add your configurations to the parameter, for example:

    将配置添加到参数中,例如:

    CQ_JVM_OPTS='-server -Xmx1024m -XX:MaxPermSize=256M -Djava.awt.headless=true -XX:-UseSplitVerifier -Dorg.apache.jackrabbit.core.security.authorization.acl.CachingEntryCollector.maxsize=40000'
    
  4. Save and use the file to start your CQ5 application.

    保存并使用该文件启动CQ5应用程序。

I hope it works for you.

我希望这个对你有用。

#1


3  

Please try this:

请试试这个:

  1. On <your cq5 folder>/crx-quickstart/bin, open start (Unix) or start.bat (Windows)

    / crx-quickstart / bin上,打开start(Unix)或start.bat(Windows)

  2. Search line that have this parameter: CQ_JVM_OPTS

    具有此参数的搜索行:CQ_JVM_OPTS

  3. Add your configurations to the parameter, for example:

    将配置添加到参数中,例如:

    CQ_JVM_OPTS='-server -Xmx1024m -XX:MaxPermSize=256M -Djava.awt.headless=true -XX:-UseSplitVerifier -Dorg.apache.jackrabbit.core.security.authorization.acl.CachingEntryCollector.maxsize=40000'
    
  4. Save and use the file to start your CQ5 application.

    保存并使用该文件启动CQ5应用程序。

I hope it works for you.

我希望这个对你有用。