This is the mail archive of the cygwin 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: peflags makes perl not print to stdout


Hi, I asked this before and havent gotten a reply. Is there any other
information I can provide? This is currently quite a bummer for me. Any
help will be greatly appreciated. Thanks.

----------------------------

From: saurabh
To: cygwin
Subject: peflags makes perl not print to stdout
Date: Mon, 24 Sep 2012 17:29:42 +0000

I have been trying to get perl to use 2GB of memory (this
is on a 32 bit xp machine with 4 GB total memory). As per
http://cygwin.com/cygwin-ug-net/setup-maxmem.html I tried
peflags --cygwin-heap=2048 /usr/bin/perl

However this causes perl to not write to screen.
On further investigation, I found the magic number to be 1040:

$ peflags --cygwin-heap=1039 /usr/bin/perl
/usr/bin/perl: initial Cygwin heap size: 1039 (0x40f) MB

$ perl -e 'print "Hello\n";'
Hello

$ peflags --cygwin-heap=1040 /usr/bin/perl
/usr/bin/perl: initial Cygwin heap size: 1040 (0x410) MB

$ perl -e 'print "Hello\n";'

$

In other words, anything 1040 and above, perl stops writing to screen.
I have the latest cygwin (1.7.16) and perl (5.14.2).
Any idea what might be wrong? Thank you.

 		 	   		  

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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