Mail Archives: cygwin/2002/03/06/22:04:20
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 DOT a DOT hill AT larc DOT nasa DOT 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 AT csd DOT uwo DOT 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/
- Raw text -