Search:

Type: Posts; User: niv

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    2,168

    Indeed, when I used %u I got 4,294,967,293 for...

    Indeed, when I used %u I got 4,294,967,293 for max_size() which is a lot more than I need.
    If the process is running out of memory, maybe I can adjust that?
    This small piece of code is part of a...
  2. Replies
    6
    Views
    2,168

    Okay, I was able to catch the exception, it is...

    Okay, I was able to catch the exception, it is "bad allocation".
    Also, reply.max_size() returned "-3".

    Any idea?
  3. Replies
    6
    Views
    2,168

    Here is the code: string...

    Here is the code:


    string double_newline("\r\n\r\n");
    string::size_type reply_starts_at = reply.find(double_newline);
    if (reply_starts_at == string::npos)
    {
    throw...
  4. Replies
    6
    Views
    2,168

    Application crash when using substr on AIX

    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...
Results 1 to 4 of 4