Unable to add web part on Page SharePoint 2016

Hatim Johar 1 Reputation point

Hi Team,

We are having sandbox solutions that works in SharePoint 2016.

Recently we setup a new environment of SharePoint 2016 and there we were able to deploy and activate Sandbox solution comprising of webparts.

Now when we try to add the webpart on the page, we are getting below error

The worker process handling this request was ended because it exceeded the resource ProcessVirtualBytes.

Any help, inputs is highly appreciated.

Thank you,

SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,596 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. MichaelHan-MSFT 18,021 Reputation points

    Hi @Hatim Johar ,

    Looks like the threshold of the resource ProcessVirtualBytes has been exceeded. To alleviate this problem, you should modify your code so that it does not exceed the resource threshold.

    You could see the resource values here: https://learn.microsoft.com/en-us/previous-versions/office/developer/sharepoint-2010/gg615462(v=office.14)?redirectedfrom=MSDN#resources-measured

    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Hatim Johar 1 Reputation point

    Thank you for your response.

    Problem resolved when I converted Sandbox solution to Farm based solution. Thank you for help.