Thread: memory underflow.

  1. #1
    Registered User newbie_grg's Avatar
    Join Date
    Jul 2002
    Posts
    77

    memory underflow.

    hi ,
    what does memory underflow exactly mean??
    "If knowledge can create problems, it is not through ignorance that we can solve them. "
    -Isaac Asimov(1920-1992)

  2. #2
    Registered User matheo917's Avatar
    Join Date
    Sep 2001
    Posts
    279
    that you (for example) used too much memory than it was given to you....

  3. #3
    Registered User matheo917's Avatar
    Join Date
    Sep 2001
    Posts
    279
    it would be easier if you search the board for your "memory overflow" ...........you'll get a lot of hits

  4. #4
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,380
    >that you (for example) used too much memory than it was given
    >to you....

    That is memory overflow, newbie_grg asked about underflow. Memory underflow can for example happen if you try to access a structure which does not exist.

    For example:

    Code:
    void function (datatype *my_data)
    {
        if (my_data)
        {
            int var = my_data->variable;
        }
        else
        {
            // underflow situation
        }
    }

  5. #5
    Registered User matheo917's Avatar
    Join Date
    Sep 2001
    Posts
    279

    Talking

    ohhhh yeah..............how did I miss that....??? hmmm
    i guess that's what happens if you sit in front of the monitor for too long...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. available memory from task manager
    By George2 in forum Tech Board
    Replies: 10
    Last Post: 01-18-2008, 02:32 AM
  2. Replies: 4
    Last Post: 01-13-2008, 02:14 AM
  3. Question regarding Memory Leak
    By clegs in forum C++ Programming
    Replies: 29
    Last Post: 12-07-2007, 01:57 AM
  4. Memory problem with Borland C 3.1
    By AZ1699 in forum C Programming
    Replies: 16
    Last Post: 11-16-2007, 11:22 AM
  5. Shared Memory - shmget questions
    By hendler in forum C Programming
    Replies: 1
    Last Post: 11-29-2005, 02:15 AM