From mboxrd@z Thu Jan 1 00:00:00 1970 From: "qhwang" Subject: out of memory Date: Wed, 8 Oct 2003 12:34:02 +0100 Sender: linux-c-programming-owner@vger.kernel.org Message-ID: <001f01c38d90$134b12c0$70ab88c1@ieeta.pt> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-c-programming@vger.kernel.org Hi there, Can anyone help me out of the mess? My program runs of out memory and then is killed by the system. I use "top" to monitor its running and find out of both RAM and SWAP. The "SIZE" option of "top" reaches more than 260 MB and "RSS" more than 40 MB. Is this reasonable? The size of my program is just over 100 KB. And the memory of my computer is just 64 MB and the swap is 256 MB. By the way, I find no memory leaks. Any suggestion will be greatly appreaciated. Bests, QingHua. P.S. I sent a post last night but I don't receive it this morning. So I post it again.