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:
请试试这个:
-
On
<your cq5 folder>/crx-quickstart/bin
, openstart
(Unix) orstart.bat
(Windows)在
/ crx-quickstart / bin上,打开start(Unix)或start.bat(Windows) -
Search line that have this parameter:
CQ_JVM_OPTS
具有此参数的搜索行:CQ_JVM_OPTS
-
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'
-
Save and use the file to start your CQ5 application.
保存并使用该文件启动CQ5应用程序。
I hope it works for you.
我希望这个对你有用。
#1
3
Please try this:
请试试这个:
-
On
<your cq5 folder>/crx-quickstart/bin
, openstart
(Unix) orstart.bat
(Windows)在
/ crx-quickstart / bin上,打开start(Unix)或start.bat(Windows) -
Search line that have this parameter:
CQ_JVM_OPTS
具有此参数的搜索行:CQ_JVM_OPTS
-
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'
-
Save and use the file to start your CQ5 application.
保存并使用该文件启动CQ5应用程序。
I hope it works for you.
我希望这个对你有用。