From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4fe4dfa1b8acdbe4 X-Google-Attributes: gid103376,public From: "David C. Hoos, Sr." Subject: Re: gnat310p on NT Date: 1998/08/14 Message-ID: <0QXRrq2x9GA.123@samson.airnet.net>#1/1 X-Deja-AN: 381058774 References: <01bdc744$cef04bc0$0e2915c0@w95> Newsgroups: comp.lang.ada X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Date: 1998-08-14T00:00:00+00:00 List-Id: bob wrote in message <01bdc744$cef04bc0$0e2915c0@w95>... >Anyone using NT gnat? Have a 4400 line package (body) running on Linux and >wanted to run it on NT. AdaGide croaked big time. Said code was too big and >to try with "colorizing off". Did this and couldn't save the .ini. It >locked up and had to use NT Task-Master to kill the Gide process. Cut the >size of the package down by 1500 lines (just cut them out) to see what >would happen. Could then scroll and save until I did a compile. Gide locked >up. Had to kill it. After doing this 4 times, started getting messages >saying NT thought the source was on a CD drive and door was open. Had to >reboot. The NT4.0 system has 64Meg ram and 11.5GB disk with Dual PPro/180. >Task Master shows not running out of memory (44MB reported free when Gide >loaded). Doesn't appear to be any way to configure AdaGide to allow more >memory/larger programs. Compiling with listing to a file finally allowed >ONE (1) complete pass without crashing. Closing the source window also >killed the Gide. Any clues??? > This is not a gnat problem at all (except to the extent that AdaGIDE is distributed with gnat), but only with AdaGIDE. I have experienced the same problem, but only with code written by others, for I fervently believe that any code more than a few hundred lines in a file needs to be restructured. For example, the bodies of subprograms and/or tasks can (should IMHO) be made separates. Incidentally, If you haven't done so already, you should get version 6.20 of AdaGIDE at: ftp://ftp.usafa.af.mil/pub/dfcs/carlisle/adagide/agide620.zip If you really want to find out how to increase the capacity of AdaGIDE to handle larger source files, download the code from: ftp://ftp.usafa.af.mil/pub/dfcs/carlisle/adagide/agsrc620.zip and have a go at it. I'm sure Martin will appreciate the contribution.