Showing posts with label CRX. Show all posts
Showing posts with label CRX. Show all posts

Increase Cache Size parameter in workspace.xml of AEM

How to Increase Cache Size parameter in workspace.xml

Place below configuration in cache section of searindex elements
§
 

Workspace.xml
 Under SearchIndex class where values is ="com.day.crx.query.lucene.LuceneHandler"
 
 param name  is ="cacheSize" value="100000"
 
Repository.xml
   Where PersistenceManager class is of type ="com.day.crx.persistence.tar.TarPersistenceManager"
   param name is ="bundleCacheSize"  and value is ="512"


Workspace.xml
           
  Where PersistenceManager class is ="com.day.crx.persistence.tar.TarPersistenceManager"
  And param name is ="bundleCacheSize" value is ="512"
  
 
 Note: applicable to AEM 5.6.1/5.4
 

Increase the Bundle Cache size in AEM



Steps Increase the Bundle Cache size:

 Step1:     repository.xml and all of your workspace.xml
 Step2: Edit PersistenceManager elements in repository.xml and workspace.xml file
 Step3: add element
 Step4: Increased size to 256 or 512 or 1024, depending upon jvm size.