delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/17/02:47:42

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Subject: RE: Program too big to fit in memory - Previous hints didn't work
Date: Fri, 17 Oct 2003 08:47:00 +0200
MIME-Version: 1.0
Message-ID: <F0D7281DAB048B438E8F5EC4ECEFBDDC175F67@esmail.elsag.de>
content-class: urn:content-classes:message
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: =?iso-8859-1?Q?J=F6rg_Schaible?= <Joerg DOT Schaible AT Elsag-Solutions DOT com>
To: <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h9H6levq013942

Hi Elkin,

E G wrote on Thursday, October 16, 2003 7:47 PM:
> I then compiled the fortran code and linked the libraries and required
> object files -including the C program- as I did in Linux (I
> just changed the
> paths for the includes and the libraries) and the names of
> the libraries (
> -lXpm -> -lXpm.dll, -lX11 ->-lX11.dll). It compiled fine and
> I got my object
> dependencies ok and the exe file without problems. But, when
> I tried to run
> the program I got a "Program too big to fit in memory" error
> message and it
> didn't run. The program is 1.4 MB and my computer has 256 MB
> RAM and 9 GB
> hard disk free space (defragmented, i.e., single chunk).

unfortunately I have to tell you that this problem may not be Cygwin related at all. Try googling for "Program too big to fit in memory" and you will see, that this error occurs in very obscure situations for all kind of applications normally running without problem. And that you'll not find any true reason or solution for it. I was struck by this error the last time when I tried to call the MS SQL setup (to install it in a VMware instance) and it terminated always immediately for no real reason. Starting setup from the commad line I got the error message from above. The error went away when I told VMware to provide access to the CD-Rom in raw mode (but do not ask me why this is related with the error, I had plenty of memory). The error is raised by the OS itself i.e. the OS refused to run the application at all and gives the error message.

Did you try to run your app on another machine? I would not be surprised, if it works like charm. Did you tried to run other big Cygwin applications like KDE for Cygwin?

Regards,
Jörg

--
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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019