1833771 Members
2227 Online
110063 Solutions
New Discussion

Re: aCC and STL

 
SANJAY MURTHY
New Member

aCC and STL

I use STL extensively.
I notice that the memory usage explodes on HP11 when I compile with +DA2.0N and +DD64 options. Any suggestions on how I could solve this memory usage problem and yet be able to grow the program to say 16G ?

help !!!
2 REPLIES 2
Steven Gillard_2
Honored Contributor

Re: aCC and STL

64bit programs will always use more memory than 32bit programs because the size of pointers and some other data types is doubled. How much more memory does your program use?

Also make sure you have the latest aCC runtime patch just in case you have hit a memory leak in the libraries. The latest patch is PHSS_24627.

Regards,
Steve

SANJAY MURTHY
New Member

Re: aCC and STL

Steven,

I have more than 5x memory usage.
The program on 32bit uses about 3G.
Needless to say that the memory usage runs away.

I d'ont deleting any map / list. So I am not sure about the memory leak.

Many thanks for you insights.

Sanjay
help !!!