Cannot delete application folder

php

#1

Whenever I go to delete a large application folder in one of my workspaces I get:

Failed to delete folder ‘xxx’. stderr maxBuffer exceeded.

The folder is the root of a Yii2 framework application so it is quite big (100s of MBs)