Infinite malloc loop behavior
Filed under Morgan Stanley
The question
Analyze how many times a loop calling malloc(1024*1024) will execute on systems with 2GB vs 8GB of RAM.
No write-up yet. Related questions below have one.
Related Morgan Stanley questions
Collected from public candidate posts and coding forums. Updated Nov 2026.