From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15405 invoked by alias); 19 May 2003 13:57:12 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 15229 invoked from network); 19 May 2003 13:57:06 -0000 Received: from unknown (HELO smtp.web.de) (217.72.192.180) by sources.redhat.com with SMTP; 19 May 2003 13:57:06 -0000 Received: from [212.202.203.12] (helo=port-212-202-203-12.reverse.qdsl-home.de) by smtp.web.de with esmtp (WEB.DE 4.98 #218) id 19Hl8T-0007Mi-00 for gdb@sources.redhat.com; Mon, 19 May 2003 15:57:05 +0200 From: Andreas =?iso-8859-1?q?Gro=DF?= To: gdb@sources.redhat.com Subject: Virtual memory Date: Mon, 19 May 2003 13:57:00 -0000 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200305191557.20097.gross_andreas@web.de> X-SW-Source: 2003-05/txt/msg00266.txt.bz2 Hi there... I'm programming a patch for gdb which gives out a state graph of a program.= I=20 have the following problem: I store the state graph in the heap memory (using xmalloc). The problem is= =20 that I get an out-of-memory-error while computing the state graph of huge=20 programs: utils.c:981: gdb-internal-error: virtual memory exhausted: can't allocate=20 49220 bytes. An internal GDB error was detected. This may make further debugging unreliable. Quit this debugging session? (y or n) y My question: Is it possible to say gdb to allocate more virtual memory? cu Andreas --=20 Andreas Gro=DF knox@cs.uni-sb.de