Configuring ZIP extraction limits in Adobe Experience Manager 6.5 LTS

Adobe Experience Manager (AEM) 6.5 Long-Term Support (LTS) applies default ZIP extraction limits to prevent excessive resource consumption, with different settings for the Unarchiver workflow step and the Assets UI Extract Archive action. To resolve the issue, identify the extraction method, adjust the corresponding workflow or OSGi configuration values, and test the updated limits before applying them in production.

Description description

Environment

Adobe Experience Manager (AEM) 6.5 LTS (all platforms)

Issue/Symptoms

  • Administrators need to confirm or adjust the default ZIP extraction limits in AEM 6.5 LTS.

  • The limits include:

    • Maximum number of files in the ZIP archive.
    • Maximum number of files per directory.
    • Maximum size of the extracted folder.
  • No error messages are typically reported.

Root cause

Default extraction limits are configured to prevent excessive resource consumption during ZIP extraction. The values can be adjusted depending on the extraction method used.

Resolution resolution

Follow the steps below to resolve the issue:

  1. Identify the ZIP extraction method in use.

  2. For the Unarchiver workflow step, create or edit a workflow model and add the Unarchiver step. The default values are:

    • File Number Limit: 100000
    • Per Directory File Number Limit: 100
    • Size Limit: 104857600 (100MB)
  3. For the Extract Archiveaction in the AEM Assets UI:

    1. Open the AEM Web Console Configuration Manager.
    2. Locate and open com.day.cq.dam.core.impl.unzip.UnzipConfig.
    3. Review the following property: cq.dam.config.unzip.maxuncompressedsize: 1073741824 (1GB)
  4. To change the extraction limits:

    • For the Unarchiver workflow step, adjust the parameters directly in the workflow step configuration.
    • For the Assets UI extraction, update the OSGi configuration for com.day.cq.dam.core.impl.unzip.UnzipConfig as needed.
  5. Test the configuration with the target ZIP files before applying the changes in production. Confirm that the updated limits meet the requirements without negatively affecting system performance.

recommendation-more-help
experience-cloud-kcs-help-kbarticles