Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3B44B603.9040009@Interwoven.com> Date: Thu, 05 Jul 2001 11:46:27 -0700 From: Sandeep Tamhankar User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010701 X-Accept-Language: en-us MIME-Version: 1.0 To: "Kumar, Narendira" CC: "'cygwin AT cygwin DOT com'" Subject: Re: Query References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-AntiVirus: scanned for viruses by Interwoven Virus scanner (http://www.interwoven.com) Wow. I assume that the vast majority of this header file consists of all this data. Maybe you should keep the data in a separate file and have a function in your program that reads it into the array at program startup-time. Your program will be a lot smaller, and if the data ever changes, you don't have to re-compile the program. The cost, of course, is that the startup time of your program will be a bit more...but I think you'd be much better off in the long run. -Sandeep Kumar, Narendira wrote: > Hello, > > I have a problem with the compilation on the cyqwin environment. I would > request, the cygwin team to consider my query and possibly help me with few > hints. > > Problem: > I have a data structure file (say variable.h) which contains an array. This > file happens to be 40MB in size and included in a c file (say test.c). When > i compile test.c, due to memory constraints, the object file is not created > resulting in the following error 'virtual memory exhausted' > I did try increasing the virtual memory with Windows, but not much helpful. > Could you please give few hints to overcome such an issue. > > Thanks for you consideration, > Narendira > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > -- --------------------------------------------- Sandeep V. Tamhankar Member of Technical Staff Tel: (408) 220-7505 Fax: (408) 774-2002 Email: sandman AT interwoven DOT com Visit http://www.interwoven.com Moving Business to the Web -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/