Use constexpr for memory manager in context manager

45 jobs for memory-manager-constexpr in 13 minutes and 32 seconds (queued for 3 seconds)