fatal error out of memory

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vishalakshi
    New Member
    • Sep 2007
    • 2

    fatal error out of memory

    i wrote a c program which used about 1000 lines i repeatedly used the if else and nested if else statements and many(nearly 20) small functions and their calls in nested else if statements i got the fatal error out of memoryat a paticular line if i comment those lines below it the progrram works normally but the task will be incomplete can you help me
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    Hi vishalakshi

    Welcome to TSDN.

    Plese post all your C related doubts in C / C++ Forum only.
    Kindly post your code for refernce of our Experts. It helps them understand & solve your problem in a better way.

    Comment

    • pbmods
      Recognized Expert Expert
      • Apr 2007
      • 5821

      #3
      Moved to the C-4 'em....

      Comment

      • kreagan
        New Member
        • Aug 2007
        • 153

        #4
        Originally posted by vishalakshi
        i wrote a c program which used about 1000 lines i repeatedly used the if else and nested if else statements and many(nearly 20) small functions and their calls in nested else if statements i got the fatal error out of memoryat a paticular line if i comment those lines below it the progrram works normally but the task will be incomplete can you help me
        Could that line contain an endless for-loop or while loop? That probably causing the error.

        Comment

        Working...