<div dir="ltr"><div>Solved.<br><br></div>Increasing CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS was the key.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 23, 2016 at 4:48 PM, Saeed Ehteshamifar <span dir="ltr"><<a href="mailto:salpha.2004@gmail.com" target="_blank">salpha.2004@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"><div><div><div><div>Hello,<br><br></div>I'm trying to load a 45KB object file in my RTEMS app but I get the error as mentioned in the subject.<br><br>After looking in RTEMS source tree I found it's due to ENOMEM while calling open system call. I tried to increase min task stack size and use a unified work area but <br>didn't fix the issue.<br><br>Any comments?<br><br></div>I run the executable like this:<br>qemu-system-i386 -kernel testsuite <br>                              -append "--console=/dev/com1"<br>                              -serial stdio<br>                              -m 128<br><br></div>Best Regards,<br></div>Saeed<br><div><div> <br></div></div></div>
</blockquote></div><br></div>