This article was moved to an entry in the Support Knowledge Base. You can find the updated content at www.outsystems.com/goto/disk-space-usage-guide.
The original post was kept for reference reasons, but is no longer certified and should not be used as the reference material.
Often I get questions about the disk space usage under the Platform Server installation directory, mostly due to disk space limitations that exist on the Agile Platform servers, and usually in search for ways to control and manage that disk space usage.
Knowing the commonly largest directories
First, let me clarify on the most commonly growing folder locations under the Platform Server installation directory, in the context of an Agile Platform server installed with the .NET stack version of the platform. Each of these folder locations can reach to several tenths of GB, depending on the factory size, and the purpose of the environment and folder.
On the table below, you'll find detailed information about what it's stored on each of the folders that usually take more disk space, along with the purpose of those folders and in which server profiles and environment types we can find them using up disk space. For this table do take into consideration the following server profiles:
A server can have both roles, which in that case, it would have both server role contents. Usually, the non-production environments use more disk space then production, mainly due to the number of developers, and due to the personal test areas for debugging.
What folder contents can be deleted?
Well, ultimately, base on the architecture of the Agile Platform where the applications are defined by single OML files and extensions, any folder content can be deleted and then recovered through internal processes, like 1-Click Publishing. However, as you might be aware, this takes time, and it's not recommended for the most environments, so let me elaborate on the side-effect of deleting each one of the presented contents:
So, based on the tables above, and if you're concerned about disk space usage on your servers to the point of attempting to delete some of the content, here's my tip:
Let's talk numbers
Finally, let me try to pass on some highlights about some recommended disk sizes.
Estimating the disk space usage of a factory is not easy, since it depends greatly on the number of Software Units, eSpaces and Developers that work on one environment. Additionally, the type of application (and thus the resources included on that application) can really offset any metrics, but from my experience, and considering the disk fragmentation impact on server performance, I usually recommend the following, based only of the Software Units metric:
It has been more then enough so far, for both non-production and production environments. Ultimately, a good best practice is to install the Platform Server on a partition other than the system partition, to avoid system drive fragmentation.
Really hope that this information helps you considering the necessary disk space for your environments, and that you got a little more insight on the disk space usage by the Platform Server.