<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 27, 2017 at 8:51 AM, yaron o <span dir="ltr"><<a href="mailto:jaron0123@gmail.com" target="_blank">jaron0123@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello everyone. <div><br></div><div>i have a BUS with small ram memory (2MB).</div><div><br></div><div>my code having a lot of global variables and static variables and many many code lines. </div><div>i get this error when execute : "bootcard : work space too big for work area: # > # "</div><div>what should i reduce in order to make enough work space? .</div><div>also  there is a limited space  for the code segment ? or the data segment? i don't know maybe rtems restrict block of memory to data segment that i cant exceed it.. or i can change it... </div><div>one more question , there is a way to calculate how much memory my program holds in the ram , including the rtems os ,when the program load it say how much capacity but it not very accurate..<br></div></div></blockquote><div><br></div><div>What is your RTEMS configuration? What are the values of the "CONFIGURE_xxx" defines?</div><div><br></div><div>This error indicates you tried to configure more objects than are supportable in the RAM available.</div><div><br></div><div>If your code is in RAM, then you have to accommodate the .text, .data, and .bss before the</div><div>workspace and C program heap begins.</div><div><br></div><div>To avoid a couple of round trips on emails, what is the output of sparc-rtems4.XX-size on your executable?</div><div><br></div><div>--joel</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div></div><div><br></div><div>the BUS using leon 3 processor, and i using grmon as a debugger </div><div><br></div><div>thanks for helpers!</div><div><br></div><div><br></div><div>Yaron .<br clear="all"><div></div><div class="m_5040546512900602628gmail_signature"><div dir="ltr"><div dir="ltr"><span><div dir="ltr" style="margin-left:0pt"><table style="border:none;border-collapse:collapse"><colgroup><col width="278"><col width="322"></colgroup><tbody><tr style="height:27px"><td colspan="2" style="border-width:0px;border-style:solid;border-color:rgb(0,0,0);vertical-align:top;padding:7px"><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13.3333px;font-family:"Courier New";color:rgb(34,139,34);background-color:transparent;font-weight:700;vertical-align:baseline;white-space:pre-wrap"><img src="https://lh4.googleusercontent.com/MAmpk4C_PMWbT3zd0qdOSQrjc8Z10rviGbNXOwcwHaQsEZMoMiIycSLYS_mSXnOqfEy2QkNLP1y-0gO-6yHBGUZLK1jtiiU6IpMMOJT-bAVizgbQcyOwKWpJ6DM5a1K9PnjXrkv8" width="384" height="20" style="border:none" alt="signature-1.gif"></span></p></td></tr></tbody></table></div></span></div></div></div>
</div></div>
<br>______________________________<wbr>_________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/<wbr>mailman/listinfo/users</a><br></blockquote></div><br></div></div>