Joachim Schr�er wrote: > Hello, > we have a package spec which uses an enormous compilation time. One of the > specs it withes has about 40_000 lines of source. When I remember correctly > the gnat parser parses all specs in the closure of a given compuation unit. > This sum has a size of about 60_000 loc. > The compilation time seems to rise very nonlinear with the size of single > compilation units. The system is mainly paging to and from harddisc. > Is there a compilation switch for gnat to increase the amount of main memory > it uses or is there any other measure one may take? > Rewriting the source is no option, cause it is a delivery. How much RAM does your computer have? If you have insufficient the performance will be bound by the hard drive transfer speeds. Dale -- dstanbro@spam.o.matic.bigpond.net.au