Virtual memory

Andreas Groß gross_andreas@web.de
Mon May 19 13:57:00 GMT 2003


Hi there...

I'm programming a patch for gdb which gives out a state graph of a program. I 
have the following problem:
I store the state graph in the heap memory (using xmalloc). The problem is 
that I get an out-of-memory-error while computing the state graph of huge 
programs:

utils.c:981: gdb-internal-error: virtual memory exhausted: can't allocate 
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

-- 
   Andreas Groß
 knox@cs.uni-sb.de



More information about the Gdb mailing list