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
    • 11.14 Schreckhorn
    • Terminology
    • Solutions
    • User Guide - Deutsch
    • User Guide - English
    • API Changelog
  2. Fotoware Veloz
    • Managing users and groups
    • Configuring archives
    • Configuring workflows
    • Configuring site behavior
    • Navigating and searching to find your assets
    • Working with your assets
    • Editing asset metadata
    • Uploading files
    • Version Control in Fotoware
    • Albums - Creating and sharing collections
    • Placing assets in a CMS
    • Working with the Fotoware Pro interface
    • Using the Fotoware plugins
    • Consent management
    • User guide to FotoWeb for iPad (Legacy)
    • Picture conferencing with FotoWeb Screens (Legacy)
    • What's what in Fotoware
    • GDPR
    • Fotoware Veloz releases
    • Activity Exports
    • Fotoware Example Workflows
  3. Fotostation
    • Getting started with Fotostation
    • Viewing, selecting and sorting files
    • Managing your assets with archives
    • Adding metadata to assets
    • 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
    • What is Flow?
    • Getting started
    • Flow dictionary
  5. Fotoware On-Premises
    • Getting started
    • Index Manager
    • FotoWeb
    • Color Factory
    • Connect
    • Operations Center Guide
  6. Integrations and APIs
    • The Fotoware API
    • Creating integrations using embeddable widgets
    • Authorizing applications using OAuth
    • Auto-tagging
    • FotoWeb Drag and Drop export
    • Integration using webhooks
    • Optimizely and Episerver plugin documentation
    • User Interface Integrations
  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

Disk requirements Disk performance is important All indexed files are pushed to MongoDB MongoDB cleanup routine Note: MongoDB is not a cache - it is a database. Valuable data such as albums, CMS exports, and users and groups are stored in MongoDB. Storing the MongoDB database files in an alternative location Memory requirements Page File requirements
  • Home
  • Fotoware On-Premises
  • FotoWeb
  • Configuring site behavior (On-Premises)

+MongoDB disk and memory requirements

30. April 2025

Elaine Foley

Table of Contents

Disk requirements Disk performance is important All indexed files are pushed to MongoDB MongoDB cleanup routine Note: MongoDB is not a cache - it is a database. Valuable data such as albums, CMS exports, and users and groups are stored in MongoDB. Storing the MongoDB database files in an alternative location Memory requirements Page File requirements

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 so that the number of assets remains at a certain level, 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 other indexes are used by FotoStation. 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. There are MongoDB admin commands that 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 huge blocks with exponentially increasing sizes. 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 are stored in MongoDB.

 

 

MongoDB is NOT a cache - It is a database. Valuable data such as albums, CMS exports, and users and groups are 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

Note: 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 maximum size of the database.

A large page file is needed as Windows requires enough space to accommodate all regions of memory-mapped files made 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 accommodate Windows’ commitment rules during peak database use.

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

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Repairing the MongoDB database after an unclean shutdown
  • FotoWeb refuses to start - Index Manager is not running
  • Clearing server credentials
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
Industriestrasse 25
5033 Buchs (AG)
Switzerland

Copyright 2025 Fotoware All rights reserved.

  • Terms of service
  • Privacy policy
  • Cookie policy

Knowledge Base Software powered by Helpjuice

Expand