8 Deterministic BotFoundry Process, RAM & /dev/shm Sizing Blueprints
Every blueprint in the BotFoundry catalog models deterministic process memory, Docker --shm-size pools, and unattended supervisor recovery from official runtime documentation.
Every blueprint in the BotFoundry catalog models deterministic process memory, Docker --shm-size pools, and unattended supervisor recovery from official runtime documentation.
We model MetaTrader 4 and MetaTrader 5 servers on BotFoundry by summing the 2.80 GB Windows Server 2022 RDP desktop base, 0.42 GB per active terminal64.exe process, DLL indicator buffers, and a 22% volatility cushion so news-candle tick bursts never freeze unattended EAs.
Standard OHLCV Freqtrade containers occupy ~0.55–0.65 GB RSS on Ubuntu 24.04, whereas rolling FreqAI LightGBM/PyTorch retraining expands pandas DataFrames across 4–12 GB RAM and 100% CPU threads. On BotFoundry, we enforce hard Docker memory limits and APAC/EU region selection to avoid HTTP 451 exchange IP blocks.
Docker’s default 64 MB /dev/shm partition and unreaped renderer subprocesses crash unhardened Playwright deployments within hours. Our BotFoundry model allocates 0.78 GB per active BrowserContext group, enforces shm_size: "2gb" plus init: true, and pairs worker pools with high-RAM DDR5 KVM or Ryzen servers.
Single-process SQLite n8n deployments stall whenever bursty CRM webhooks collide with multi-megabyte JSON Code nodes or AI chains. On BotFoundry, we size EXECUTIONS_MODE=queue topologies with dedicated webhook listeners, Redis AOF brokers, and PostgreSQL 16 workers on 8 GB to 32 GB DDR5 KVM slices.
Standalone CEX Hummingbot containers run inside ~0.90 GB RAM, but full Hummingbot V2 stacks (EMQX MQTT broker + Backend API + Dashboard + Node.js DEX Gateway for Uniswap/Jupiter) push baseline memory past 5.5 GB. On BotFoundry, we pair 8–16 GB DDR5 tiers with 3.5GHz+ high-clock cores and kernel TCP keep-alive tuning.
Crossing 2,500 Discord guilds mandates WebSocket Gateway sharding, while Lavalink v4 must pace 20 ms UDP Opus audio packets without stop-the-world JVM garbage collection hiccups. On BotFoundry, we pre-touch fixed -Xms/-Xmx heaps under Java 21 Generational ZGC and cap Discord.js guild caches.
Telegram’s hosted api.telegram.org endpoint caps bot uploads at 50 MB and throttles concurrent media transfers. On BotFoundry, we size self-hosted C++ TDLib telegram-bot-api containers unlocking 2,000 MB local zero-copy file handling alongside Redis + PgBouncer Mini-App backends.
Hosted browser-grid SaaS platforms bill $150–$600/mo per parallel WebDriver slot. Using BotFoundry’s strict 1 dedicated thread + 1.5 GB RAM per active session rule with shm_size: 2gb and automatic 50-session container draining, teams run 10 to 40+ parallel Chrome/Firefox sessions on flat-rate KVM or Ryzen hardware.