Check heap size / set heap for system call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm working on Linux with gcc 3.4.6.

Within program A I execute a binary B (sources available) via
system("blahblah"), but this binary B terminates with a malloc error.

So, 
 - is there a possibility to check the amount of free heap, so I can
report this value within B?
 - a possibility to set the heap size for the binary to be executed
within A?

Thanks in advance

Oliver


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux