Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  1. Fotoware Alto
    • Latest release notes
    • Previous release notes
    • API changelog
    • End-user manual
    • Examples and solutions
    • User guides
    • Terminology
    • Status
  2. Fotoware Veloz
    • Fotoware Veloz releases
    • What's what in Fotoware
    • Navigating and searching to find your assets
    • Working with your assets
    • Uploading files
    • Editing asset metadata
    • Albums - Creating and sharing collections
    • Version Control in Fotoware
    • Consent management
    • Activity Exports
    • Placing assets in a Content Management System (CMS)
    • Working with the Fotoware Pro interface
    • Using the Fotoware plugins
    • Configuring archives
    • Configuring workflows
    • Configuring site behavior
    • Managing users and groups
    • Example workflows
    • GDPR
    • User guide to FotoWeb for iPad (Legacy)
    • Picture conferencing with FotoWeb Screens (Legacy)
  3. Fotostation
    • Getting started with Fotostation
    • Viewing, selecting and sorting files
    • Managing your assets with archives
    • Adding metadata to assets in Fotostation
    • Searching for assets
    • Working with your assets
    • Version Control in Fotostation
    • Automating tasks with Actions
    • Configuring metadata fields and editors
    • Configuring Fotostation
    • Configuring Fotostation for multi-user environments
    • Troubleshooting Fotostation
  4. Fotoware Flow
    • About Flow
    • Getting started
    • Flow dictionary
  5. Fotoware On-premises
    • Fotoware On-premises releases
    • Getting started
    • Index Manager
    • FotoWeb
    • Color Factory
    • Connect
    • Operations Center Guide
  6. Integrations and APIs
    • Fotoware Alto API
    • Fotoware Veloz and On-premises API
  7. Fotoware Mobile
    • User guide for Fotoware Mobile for iPhone and Android
    • User guide to FotoWeb for iPad (Legacy)
    • User guide to FotoWeb for iPhone and Android (Legacy)

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

Support

Table of Contents

Note Disk requirements Disk performance is important All indexed files are pushed to MongoDB MongoDB cleanup routine Note Storing the MongoDB database files in an alternative location Memory requirements Page File requirements Feature 16 and earlier only
  • Home
  • Fotoware On-premises
  • FotoWeb
  • Configuring site behavior (On-premises)

MongoDB disk and memory requirements

08. September 2026

Elaine Foley

Table of Contents

Note Disk requirements Disk performance is important All indexed files are pushed to MongoDB MongoDB cleanup routine Note Storing the MongoDB database files in an alternative location Memory requirements Page File requirements Feature 16 and earlier only

 

Note

Starting with Feature Release 20, MongoDB is no longer included in the FotoWeb installer and must be installed separately. 

Fotoware recommends running the latest available version of MongoDB to ensure you receive the latest security patches and improvements.

Each release of Fotoware On-premises is tested and validated with the latest MongoDB version available at the time of release. While newer MongoDB versions may not yet have been explicitly validated for that release, customers are encouraged to keep MongoDB up to date and follow MongoDB's recommended upgrade path.

 

 

Disk requirements

The amount of disk space required by MongoDB depends entirely on the number of assets in the system. If the number of assets is stable, or if there is a steady influx/deletion rate in the archive that keeps the number of assets constant, the instance will not grow.

Each asset remains in MongoDB for approximately 10 days after deletion. Accordingly, the approximate formula for calculating the number of assets can be expressed as follows:

N = i * (t + 10) + p

p: The number of assets permanently in the system.

t: The maximum number of days an asset is kept in the system after ingestion.

i: The number of assets ingested per day (24 hours).

N: The total number of assets in the system at any given time.
 

Each asset requires approximately 10 KB of space. The formula to calculate the disk space required for assets in MongoDB is:

Disk space (Megabytes) = N * 0,01

(N is the total number of assets, as explained above)
 

Disk performance is important

For best performance, store MongoDB data on a fast, local SSD. You cannot store MongoDB data on a network drive.
 

All indexed files are pushed to MongoDB

When an Index Manager is configured to push data to a FotoWeb server's MongoDB instance, all the indexed content from that Index Manager server is pushed to MongoDB, even if only some of the indexes are used as archives in FotoWeb. For example, FotoWeb may host only a few archives from the Index Manager server while Fotostation uses other indexes. In this case, data from all indexes is pushed to the MongoDB server.
 

MongoDB cleanup routine

MongoDB does not free up disk space when data is deleted. However, already allocated disk space can be reused by new data. MongoDB admin commands can be used to shrink and defragment the database files. However, FotoWeb does not automatically run such commands on MongoDB.

FotoWeb uses MongoDB's "small files" option to ensure that disk space is allocated in small chunks rather than in huge blocks that grow exponentially. Older versions of FotoWeb did not do this, so older installations may have large MongoDB data files that are mostly unused.

Note 

MongoDB is not a cache - it is a database. Valuable data, such as albums, CMS exports, and users and groups, is stored in MongoDB.

 

 

MongoDB is NOT a cache; it is a database. Valuable data (albums, CMS exports, and users and groups) is stored in MongoDB.

Deleting database files causes data loss that can only be restored from a backup.
 

Storing the MongoDB database files in an alternative location

The location of the MongoDB data files is not configurable per se. However, you can create a file system junction point to place the folder elsewhere.
 

Memory requirements

MongoDB requires approximately 1 GB of RAM per 100.000 assets. If the system has to start swapping memory to disk, this will have a severely negative impact on performance and should be avoided.

Page File requirements

Feature 16 and earlier only

This information applies to Feature Release 16 and earlier.

 

 

Also, it's important to follow the MongoDB outlined requirements for Page File size. The following information is copied from the MongoDB production notes:

Configure the page file such that the minimum and maximum page file sizes are equal and at least 32 GB. Use a multiple of this size if, during peak usage, you expect concurrent writes to many databases or collections. However, the page file size does not need to exceed the database's maximum size.

A large page file is needed because Windows requires sufficient space to accommodate all regions of memory mapped as writable during peak usage, regardless of whether writes actually occur.

The page file is not used for database storage and will not receive writes during normal MongoDB operations. As such, the page file will not affect performance, but it must exist and be large enough to meet Windows’ commit rules during peak database activity.

NOTE: Dynamic page file sizing is too slow to accommodate the rapidly fluctuating commit charge of an active MongoDB deployment. This can result in transient overcommitment situations that may lead to abrupt server shutdown with a VirtualProtect error 1455.

 
 
storage needs ram demands mongodb mongodb version

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Choosing system activity and metadata to log for use in your reports (deprecated)
  • Storing input folder hierarchy in metadata fields
  • Requirements for using the Archive Agent API
eco-lighthouse-miljøfyrtårn

Company

  • About us
  • Resellers
  • Careers
  • Contact us

Help & support

  • Support center
  • Consultancy
  • Tech partners
  • Fotostation
  • System status

Trust Center

  • Legal
  • Security
  • Sustainability & ESG

Locations

Fotoware AS (HQ)
Tollbugata 35
0157 OSLO
Norway
Fotoware Switzerland AG
Brown Boveri Str.7
5400 Baden
Switzerland

Copyright 2026 Fotoware All rights reserved.

  • Terms of service
  • Privacy policy
  • Cookie policy

Knowledge Base Software powered by Helpjuice

Expand