• 13
• 15
• 27
• 9
• 9

# help!!

This topic is 4956 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

c:\program files\microsoft visual studio\vc98\include\istream(508) : fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit ^ That showed up....so can you help me?

##### Share on other sites
First, look up the error message on MSDN: C1076. Next, follow the directions specified in the "possible solutions" section.

##### Share on other sites
I would imagine you are recursivly including two header file from each other, ie:

//filea.h#include <iostream>#include "fileb.h"//fileb.h#include "filea.h"

You can solve this by using include guards so each file can only get included once per source file, like this:
//filea.h#ifndef _FILEA_H_#define _FILEA_H_#include <iostream>#include "fileb.h"#endif//fileb.h#ifndef _FILEB_H_#define _FILEB_H_#include "filea.h"#endif

Alan

##### Share on other sites
Out of the solutions on one i am going to try, and that is /zm but i don't know how to get to the property page, and the microsoft thing doesn't exactly help.

##### Share on other sites
Quote:
 Original post by anorennOut of the solutions on one i am going to try, and that is /zm but i don't know how to get to the property page, and the microsoft thing doesn't exactly help.

Goto project->settings and you should find it there. Though usually in my experience it's a problem much like Alan Kemp described.

~Wave