Operating System - HP-UX
1833481 Members
2448 Online
110052 Solutions
New Discussion

aCC compiler with -AA option

 
RamaRao
Occasional Contributor

aCC compiler with -AA option

Hi All,
I have a c++ library wich is compiled with -AA option. This library uses STL from RogueWave.
I wrote small model program that uses the library. I have noticed that if my library and sample program are built with -AA memory consumtion is very highy. If they are built without -AA option memory size is less( 12 times less than -AA).
It looks like there is a memory leak in List of STL.
Can any one help me to figure out the reason behind this? Is there any patch that can solve this problem.
Your help is appreciated.
Thanks in advance.

Regards,
RamaRao


1 REPLY 1
Stephen Keane
Honored Contributor

Re: aCC compiler with -AA option

-AA instructs the compiler to use Rogue Wave Standard C++ Library 2.2.1, rather than the default Rogue Wave Standard C++ Library 1.2.1 and Tools.h++ 7.0.6.

I don't see why that would use 12 times the memory! If you have a genuine memory leak, then the amount of memory being used by the process will steadily increase. If your porcess just uses more memory with -AA than without, but the size doesn't keep growing, you don't have a memory leak, just a poor STL implementation.