delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/05/14:45:01

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <sandman AT Interwoven DOT com>
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" <n_kumar AT trillium DOT com>
CC: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Re: Query
References: <D1C0BF20D4AFD411AB98009027AE9988014A7DA3 AT FMSMSX40>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019