This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/12438] Memory leak in locale::combine()
- From: "peturr02 at ru dot is" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Sep 2003 10:59:19 -0000
- Subject: [Bug libstdc++/12438] Memory leak in locale::combine()
- References: <20030929082710.12438.peturr02@ru.is>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12438
------- Additional Comments From peturr02 at ru dot is 2003-09-30 10:58 -------
> How many iterations do you think are necessary? I have tried up to
> 1000000 without an hard fail (disk thrashing, however).
The program won't crash until it runs out of memory, which may take
a very long time.
There is a function named set_memory_limits() in testsuite_hooks.h.
Maybe you can use that to make the program run out of memory sooner?
I don't think we want tests that use all virtual memory in the system,
or that take several hours to run.