Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-Id: <5.1.0.14.2.20020306185509.02b227c0@pop3.cris.com>
X-Sender: rrschulz@pop3.cris.com
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Wed, 06 Mar 2002 19:04:03 -0800
To: "Nicolae Santean" <nicolae_santean@hotmail.com>, cygwin@cygwin.com
From: Randall R Schulz <rrschulz@cris.com>
Subject: Re: xdvi runtime error
In-Reply-To: <F125aImPiZxOASWTgZu00000bdf@hotmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed

Nicolae,

A 128 megabyte realloc fails? No kidding??

There is a Cygwin-wide allocation limit that defaults, if I recall 
correctly, to 128 megabytes. There is a registry entry that overrides this 
default called HEAP_CHUNK_IN_MB.

Here are the details, excerpted from an email by "Scott A. Hill" 
<s.a.hill@larc.nasa.gov> sent Tue, 3 Apr 2001 07:59:30 -0400:

-==-
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\

Create a new DWORD value there called "heap_chunk_in_mb" that contains the
maximum amount of memory (in Mb) your application needs (watch the
hex/decimal toggle). Exit and restart all cygwin applications.

The default is 128 (i.e. 128Mb) if no registry key is set.
-==-


Good luck.

Randall Schulz
Mountain View, CA USA


At 18:39 2002-03-06, you wrote:

>Hello,
>
>I have recently compiled xdvi22.53 under cygwin1.3.9, but
>I am having problems running it. The runtime error is:
>
>xdvi: fcntl F_SETOWN: Invalid argument
>- mktexpk --mfmode cx --bdpi 300 --mag 'magstep(0.5)'
>--dpi 329 cmsl10 '>&3'
>setsid: Not owner
>xdvi: fcntl F_SETOWN: Invalid argument
>xdvi: ! Out of memory (rellocating 134179459 bytes).
>
>Any ideea abot what am I doing wrong? This may not be directly related to 
>cygwin, case in which I appologize for intrusion. Nevertheless, if anybody 
>has xdvi installed over cygwin and/or knows what's going on, please replay 
>to either this mailing list or directly to me at:
>
>grail@csd.uwo.ca.
>
>Nick


--
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/

