This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Memory allocators / STL
- To: Stefan Olsson <stefan at noname4us dot com>
- Subject: Re: Memory allocators / STL
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Fri, 26 Oct 2001 09:44:30 -0700 (PDT)
- cc: libstdc++ at gcc dot gnu dot org, Sinisa Milivojevic <sinisa at mysql dot com>
> An additional question:
> Has anyone an idea of why the application seems to run ok (not for a longer period
> of time, but anyway) when compiling __USE_MALLOC? Does this flag alter anything of
> the exception code inside STL or is the problem to some degree related to the
> memory allocation routines...
This is probably a purely memory allocation issue.
Without some kind of example code publicly posted so that others can
try to reproduce your problem, we'll not be able to do anything except
offer suggestions. (Which, like __USE_MALLOC, you've already tried.)
I don't suppose you could provide a testcase that shows the problem, so
the rest of us could take a crack at it?
-benjamin