From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Nate" Subject: Stack and Heap Date: Wed, 15 Jan 2003 12:00:32 -0800 Sender: linux-gcc-owner@vger.kernel.org Message-ID: <005401c2bcd0$c2bd4ac0$5b01a8c0@esmith.uniwest.com> References: <1028188562.1091.4.camel@skt.int.local> <3D49201B.1090102@escriba.com.br> <5.1.0.14.0.20020828145900.01d25780@fluent2.pyramid.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-gcc@vger.kernel.org Are there any commands / functions to call to find out memory info? For example, if I am writing a program that is using a ton of memory. Everything is working and then I add more code needing more memory but it crashes and I think I may be trying to use too much... Can I call some commands to see how much memory is left? And/Or how much I am using? For Stack and Heap? Thank You, Nate