title: NIOS II c++ string does need massive memory in Hello World application
body: <p>I am currently working with the quartus prime (16.1) and NIOS II eclipse tool chain. I tried to compile a simple C++ Hello World application, but I get an error like this:</p>
  
  <blockquote>
    <p>"onchip_memory2_nios2' overflowed by 609088 bytes"</p>
  </blockquote>
  
  <p>My question now is: Is this behavior normal for the NIOS II target? Does the string (also all STL container) implementation for this target really needs this much memory (I have about 128KB memory)? Has anybody experience with developing software for the NIOS II target in C++ and knows that this is the case or not? </p>
  
  <p>I am happy for any help. Thanks! </p>
  
  <p>application looks like this:</p>
  
  <pre><code>#include &lt;string&gt;
  int main()
  { 
    std::string s = "Hello World!";
  }
  </code></pre>