This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: *** unable to allocate heap, heap_chunk_size 0, Win32 error 0
- From: "Ronald van Gogh" <rogonl at hotmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 23 Oct 2003 10:43:48 +0200
- Subject: Re: *** unable to allocate heap, heap_chunk_size 0, Win32 error 0
- Bcc:
First of all, sorry, but I still don't know how to post a reply, since I'm
registered on the mailinglist in digestmode and nobody seems to be able to
tell how to reply on a single mail I see in this list of mails.
This problem becomes very urgent to us. If we can't fix it we might have to
look for alternatives !
As I've told before we're collecting information on a dominoserver every 10
minutes by running a bash script (cygwin) scheduled by Windows Scheduler
(Splinterware). We noticed that sometimes (once or twice a day) this failed.
To check the cause we created a new small shell script, which only writes a
date and time to a file. Furthermore, to catch any stdout/stderr messages,
we called the script by a batch file. The sources of both programs are
described below.
schedule_chk.bat
-----------------------
@echo off
d:\cygwin\bin\bash.exe --login -i
"d:/Lotus/Domino/Data/StatCollect/bin/schedule_chk.sh"
>>d:\cygwin\tmp\schk.txt 2>&1
schedule_chk.sh
-----------------------
#!/usr/bin/ksh
echo $(date) >> /tmp/schedule_chk.log
This generated the following outputfiles (the file schk.txt contains the
errors):
schedule_chk.log
------------------------
Tue Sep 30 08:00:01 2003
Tue Sep 30 08:10:01 2003
Tue Sep 30 08:20:01 2003
Tue Sep 30 08:30:01 2003
Tue Sep 30 08:40:01 2003
Tue Sep 30 08:50:01 2003
Tue Sep 30 09:00:01 2003
Tue Sep 30 09:10:01 2003
Tue Sep 30 09:30:00 2003
Tue Sep 30 09:40:00 2003
Tue Sep 30 09:50:00 2003
Tue Sep 30 10:00:00 2003
Tue Sep 30 10:10:01 2003
Tue Sep 30 10:30:00 2003
schk.txt
-----------
d:\cygwin\bin\bash.exe: *** unable to allocate heap, heap_chunk_size 0,
Win32 error 0
d:\cygwin\bin\bash.exe: *** unable to allocate heap, heap_chunk_size 384,
Win32 error 0
d:\cygwin\bin\bash.exe: *** unable to allocate heap, heap_chunk_size 0,
Win32 error 0
d:\cygwin\bin\bash.exe: *** unable to allocate heap, heap_chunk_size 384,
Win32 error 0
d:\cygwin\bin\bash.exe: *** unable to allocate heap, heap_chunk_size 384,
Win32 error 0
d:\cygwin\bin\bash.exe: *** unable to allocate heap, heap_chunk_size 0,
Win32 error 0
d:\cygwin\bin\bash.exe: *** unable to allocate heap, heap_chunk_size 384,
Win32 error 0
d:\cygwin\bin\bash.exe: *** unable to allocate heap, heap_chunk_size 0,
Win32 error 0
d:\cygwin\bin\bash.exe: *** unable to allocate heap, heap_chunk_size 0,
Win32 error 0
d:\cygwin\bin\bash.exe: *** unable to allocate heap, heap_chunk_size 384,
Win32 error 0
d:\cygwin\bin\bash.exe: *** unable to allocate heap, heap_chunk_size 0,
Win32 error 0
d:\cygwin\bin\bash.exe: *** unable to allocate heap, heap_chunk_size 0,
Win32 error 0
d:\cygwin\bin\bash.exe: *** unable to allocate heap, heap_chunk_size 384,
Win32 error 0
d:\cygwin\bin\bash.exe: *** unable to allocate heap, heap_chunk_size 0,
Win32 error 0
As you can see the log file sometimes contains gaps and errormessages are
written to stderr.
I've attached a cygcheck.out file for more information.
Kind regards, Ronald van Gogh
_________________________________________________________________
MSN Zoeken, voor duidelijke zoekresultaten! http://search.msn.nl
Attachment:
cygcheck.out
Description: Text document
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/