Tech Tip: Analyzing Memory Usage Differences Between a Primary and Mirror 4D Server
PRODUCT: 4D Server | VERSION: 20 R | PLATFORM: Mac & Win
Published On: May 2, 2025
Significant differences in memory usage between the primary and mirror servers in a 4D architecture are expected, as each server fulfills distinct roles with different workloads and cache behaviors.
- The primary server:
- Handles interactive users (UI-based interactions)
- Executes automated tasks and robot processes
- The mirror server:
- Is typically free from user interaction delays
- Integrates data progressively, so its cache usage increases over time
- May be used for read-only operations, depending on the configuration
Recommended Tools for Analysis
- MEMORY STATISTICS Command
- View current cache usage
- Compare memory usage between the primary and mirror servers
- 4D Server Activity Monitor
- Use the "Processes" tab in the server administration window
- Monitor the activity and load of individual processes in real time