AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
#Operatingsystems
#Servers
 View Only
  • 1.  substr fails to handle large strings

    Posted 05/25/11 10:02 AM

    Originally posted by: SystemAdmin


    Hi,

    When using substr with large strings (20-30MB) I get an exception.
    The same code works fine on other platforms.

    Is there some kind of limitation that I can change?

    Thanks.
    #AIX-Forum


  • 2.  Re: substr fails to handle large strings

    Posted 05/25/11 10:21 AM

    Originally posted by: tony.evans


    In what language / shell / interpreter?
    #AIX-Forum


  • 3.  Re: substr fails to handle large strings

    Posted 05/25/11 10:45 AM

    Originally posted by: SystemAdmin


    C++
    #AIX-Forum


  • 4.  Re: substr fails to handle large strings

    Posted 05/26/11 08:13 AM

    Originally posted by: SystemAdmin


    I was able to catch the exception for substr, it is "bad allocation".
    Any idea anyone? Is it process memory size limit? What can be done?
    #AIX-Forum