Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit

fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
11 Posts 7 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rajneshmalik
    wrote on last edited by
    #1

    hi all when i compile my project i got the error "fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit" how can i resolved this error thank u in advance

    C C 2 Replies Last reply
    0
    • R rajneshmalik

      hi all when i compile my project i got the error "fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit" how can i resolved this error thank u in advance

      C Offline
      C Offline
      CPallini
      wrote on last edited by
      #2

      See here [^]. :)

      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
      This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
      [My articles]

      R 1 Reply Last reply
      0
      • C CPallini

        See here [^]. :)

        If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
        This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
        [My articles]

        R Offline
        R Offline
        rajneshmalik
        wrote on last edited by
        #3

        I am using vc++6 and i could not find the option specify in that link please help me to resolve this problem

        R M C D 4 Replies Last reply
        0
        • R rajneshmalik

          I am using vc++6 and i could not find the option specify in that link please help me to resolve this problem

          R Offline
          R Offline
          Rane
          wrote on last edited by
          #4

          *Go to Solution Explorer or Class View. *Right Click on the Project. *Click on Properties *Open C/C++ folder. *Click on the Command Line property page. *Type the compiler option in the Additional Options box. :cool: Regards, Rane

          D 1 Reply Last reply
          0
          • R rajneshmalik

            I am using vc++6 and i could not find the option specify in that link please help me to resolve this problem

            M Offline
            M Offline
            Michael Schubert
            wrote on last edited by
            #5

            Just try /Zm200

            1 Reply Last reply
            0
            • R rajneshmalik

              hi all when i compile my project i got the error "fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit" how can i resolved this error thank u in advance

              C Offline
              C Offline
              Cedric Moonen
              wrote on last edited by
              #6

              On a side note: I never reached the internal limit of the compiler. How did you manage to reach it ? Do you have all your code in one big file or what ?

              Cédric Moonen Software developer
              Charting control [v1.5] OpenGL game tutorial in C++

              J R 2 Replies Last reply
              0
              • R rajneshmalik

                I am using vc++6 and i could not find the option specify in that link please help me to resolve this problem

                C Offline
                C Offline
                CPallini
                wrote on last edited by
                #7

                Actually there are a lot of suggestions in that page... :)

                If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                [My articles]

                1 Reply Last reply
                0
                • C Cedric Moonen

                  On a side note: I never reached the internal limit of the compiler. How did you manage to reach it ? Do you have all your code in one big file or what ?

                  Cédric Moonen Software developer
                  Charting control [v1.5] OpenGL game tutorial in C++

                  J Offline
                  J Offline
                  James R Twine
                  wrote on last edited by
                  #8

                  Some complex template-fu can cause this in 6.0, although I am hardpressed for an example right now...    Also, some template expressions cause that error and no number you pass to the command line option helps.    Peace!

                  -=- James
                  Please rate this message - let me know if I helped or not! * * * If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
                  Remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
                  See DeleteFXPFiles

                  1 Reply Last reply
                  0
                  • C Cedric Moonen

                    On a side note: I never reached the internal limit of the compiler. How did you manage to reach it ? Do you have all your code in one big file or what ?

                    Cédric Moonen Software developer
                    Charting control [v1.5] OpenGL game tutorial in C++

                    R Offline
                    R Offline
                    rajneshmalik
                    wrote on last edited by
                    #9

                    I have a huge code in one file that i got from other person

                    1 Reply Last reply
                    0
                    • R rajneshmalik

                      I am using vc++6 and i could not find the option specify in that link please help me to resolve this problem

                      D Offline
                      D Offline
                      David Crow
                      wrote on last edited by
                      #10

                      Click Alt+F7 to open the Project Settings dialog. Click the C/C++ tab. Add /Zm to the Project Options edit box.

                      "Love people and use things, not love things and use people." - Unknown

                      "The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch

                      1 Reply Last reply
                      0
                      • R Rane

                        *Go to Solution Explorer or Class View. *Right Click on the Project. *Click on Properties *Open C/C++ folder. *Click on the Command Line property page. *Type the compiler option in the Additional Options box. :cool: Regards, Rane

                        D Offline
                        D Offline
                        David Crow
                        wrote on last edited by
                        #11

                        I do not believe these will work with VS6.

                        "Love people and use things, not love things and use people." - Unknown

                        "The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups