web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

Microsoft.Crm.CrmArgumentOutOfRangeException: Decompressed data too big! Please make sure that the uncompressed data is within 100 MB ---> System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.

(0) ShareShare
ReportReport
Posted on by 40

Getting the Following error in D365 CE 8.0.1.79 version.

Host CEBSWXX2234X: error while processing organization b9226e08-28ef-eXXX-8-00XXX XXXXXa20. Exception: Microsoft.Crm.CrmArgumentOutOfRangeException:
Decompressed data too big! Please make sure that the uncompressed data is within 100 MB ---> System.ArgumentOutOfRangeException: Specified argument was out
of the range of valid values.

Parameter name: Decompressed data too big! Please make sure that the uncompressed data is within 100 MB

--- End of inner exception stack trace ---

at Microsoft.Crm.CrmCompress.Decompress(Byte[] compressedData)

at Microsoft.Crm.Asynchronous.AsyncOperationQueueDataAccess.DecompressData(String data)

at Microsoft.Crm.Asynchronous.AsyncOperationQueueDataAccess.<>c__DisplayClass5.<SelectEvents>b__1(Object[] values)

at Microsoft.Crm.Asynchronous.DataAccessBase.ExecuteSqlCommandAndProcessRecords(IDbCommand command, RecordProcessor recordProcessor,
Guid inputOrganizationId)

at Microsoft.Crm.Asynchronous.DataAccessBase.ExecuteSqlCommandAndProcessRecords(IDbCommand command, RecordProcessor recordProcessor)

at Microsoft.Crm.Asynchronous.AsyncOperationQueueDataAccess.<>c__DisplayClass5.<SelectEvents>b__0(IServiceOperation operation)

at Microsoft.Crm.Asynchronous.Operations.OrganizationOperation.<get_EventAction>b__0(IServiceOperation operation)

I have the same question (0)
  • Suggested answer
    Mohamed Sanuj Basheer Profile Picture
    540 on at
    RE: Microsoft.Crm.CrmArgumentOutOfRangeException: Decompressed data too big! Please make sure that the uncompressed data is within 100 MB ---> System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.

    Dear partner,

     This is a by-design behavior, observed in the context of custom plug-ins in Dynamics 365 CE Online. Plug-ins in Dynamics 365 CE Online are executed in an isolated mode, which is called Sandbox. The Sandbox Service, which is the service that executes custom plug-ins, will impose some restrictions to the custom code. One of those restrictions is the amount of memory being used. If we try to manipulate a 40MB file in sandbox mode, we'll run into the memory limitation and the reported error will be experimented. As a matter of fact, it is recommended to store files up to 32MB:

    https://docs.microsoft.com/en-us/dynamics365/customer-engagement/admin/system-settings-dialog-box-email-tab

    Did I answer your question? Please consider to mark my post as a solution to help others.

     

    Regards,

    Mohamed Sanuj Basheer

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 60 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 52 Super User 2025 Season 2

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 36 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans