This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



First of all, sorry, but I didn't know how to post a reply, since I'm registered on the mailinglist in digestmode.


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

_________________________________________________________________

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/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]