title: Simulate Memory Leak in Linux
body: <p>I need to run a bash command to simulate a memory leak in Linux to test my web server performance. I have used Stree-ng tool to stress memory, but I noticed that CPU usage reaches 100% when this command starts running. Now I have two question:</p>
  
  <ol>
  <li><p>In reality, a usual memory related anomaly in web servers, has this pattern of increasing both CPU and Memory or just Memory?</p></li>
  <li><p>Is there a way that I can increase memory usage without a significant increase of CPU?</p></li>
  </ol>