Hi,
I am trying to use substr on a large string, 20-30MB.
The same code compiles and run on other platforms (linux, HP, Windows) with no problem, but when running on AIX 6.1, it crashes.
Seems like a memory problem, maybe process memory limit was reached, how can I find out?
When I sorround the substr call with a try/catch I catch the exception, however I use catch (...) as I'm not sure what exception should be caught, and I would like to print it so maybe it will give me a clue.
Thanks.