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: Program too big to fit in memory - Previous hints didn't work


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/


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