From owner-freebsd-hackers Wed Apr 4 11:12: 4 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mokona.furryterror.org (cr934547-a.flfrd1.on.wave.home.com [24.112.247.163]) by hub.freebsd.org (Postfix) with ESMTP id 8674D37B71F for ; Wed, 4 Apr 2001 11:12:01 -0700 (PDT) (envelope-from afong@furryterror.org) Received: from afong by mokona.furryterror.org with local (Exim 3.12 #1 (Debian)) id 14krlA-0008PX-00; Wed, 04 Apr 2001 14:12:00 -0400 Subject: stack/memory usage in kernel related question To: freebsd-hackers@FreeBSD.ORG Date: Wed, 4 Apr 2001 14:12:00 -0400 (EDT) X-Mailer: ELM [version 2.4ME+ PL66 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: From: Amy Fong Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Query: I've noticed that if I use up too much stack space, the freebsd kernel (4.2) seems to crash very easily. Specially, if I create an array of size N within a function, once the function gets invoked, my machine just reboots. How do I find out how much stack space I've got? I'm assuming that it _is_ a stack issue. :) Thanks, Amy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message