*** unable to allocate heap, heap_chunk_size 0, Win32 error 0

Ronald van Gogh rogonl@hotmail.com
Thu Oct 23 09:35:00 GMT 2003


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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20031023/2377cd10/attachment.ksh>
-------------- next part --------------
--
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/


More information about the Cygwin mailing list