Limiting Segment Memory Consumption