Message-ID: <004201beaa13$966ed8e0$0776cecf@computer> From: "Sean Middleditch" To: References: Subject: Re: errors Date: Sat, 29 May 1999 16:41:10 -0400 Organization: AwesomePlay Productions MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Reply-To: djgpp AT delorie DOT com Exactly WHEN is the error occuring? As soon as the array is initialized, or sometime after that (maybe when settingup initial data?). You shouldn't have any problems, since defualt DJGPP DPMI module CWSDPMI allows virtual memory. Make sure you're not trying to write to an array entry that is outside of the array bounds (especially check for loops, I've crashed whole systems by putting the wrong count in one of those). Also, try initializing a single pointer to your map class, and see if you get the error. If so, there could be something wrong in your map class constructor. Sean Middleditch of AwesomePlay Productions http://members.xoom.com/aweplay aweplay AT iname DOT com ----- Original Message ----- From: Brian Ronk Newsgroups: comp.os.msdos.djgpp To: Sent: Saturday, May 29, 1999 2:11 PM Subject: errors > I have been recieving an error that I am assuming is a memory error. My program starts up, but never actually runs anything. It quits with a 255 code, with a message about SIGSEGV. I found out what in my program was causing the error. I declared an array of size 50 of a type that was about 230444 bytes large. (it is a map class if you are wondering) I figured out that this won't work on my computer since that needs about 11 megs of memory, but I can shrink that with no problem. I was wondering if there was a way to fix this though. I did try my array at a size of 10 and got the same thing. Do I need to do something with my memory to get this to work? I'm going to get a new computer in the next couple months, so I am not woried about memory at this point. Any help would be appreciated. > > Brian Ronk > > > Get your FREE Email at http://mailcity.lycos.com > Get your PERSONALIZED START PAGE at http://my.lycos.com