error during run: St9bad_alloc - Getting this error while using some conversion progr

Hi all,

It will be very useful If you spare some time with me for this worrying error.

I am calling a conversion program which is written in C++ for converting a file format to different format. It was working fine for this past 2 yrs. But now it is not working since the file size has been increased a lot. It is taking sometime and finally it is saying this error "error during run: St9bad_alloc". But whereas while running the conversion program in the command prompt it is running fine without any error.

I am using AIX Version 5.2! I have 40 GB memory in my RAM.

Thanks,
Sathu.:b:

Can anyone please help me in this regard. Or else tell me some suggestions so that I can process the large files in some other way.

Thanks,
Sathappan.C