Author | Topic: postie.exe: -> "PROGRAM TOO BIG TO FIT IN MEMORY" | |
---|---|---|
Moshe Yarden | postie.exe: -> "PROGRAM TOO BIG TO FIT IN MEMORY" on Mon, 07 Jan 2008 13:22:30 +0200 Hi, I'm using postie to send emails from clipper application. The Clipper application creates a batch file and I use RUN CALL to run the batch file which include the postie with all its parameters. No problems when running postie under win 98. When running under win xp i receive an error: "PROGRAM TOO BIG TO FIT IN MEMORY" The RAM is 2 Giga. I've tried 3 versions of postie.exe When running the batch file (while the application is still running) directly from the command line it works OK. Any idea? Thanks, Moshe Yarden | |
Rodd Graham | Re: postie.exe: -> "PROGRAM TOO BIG TO FIT IN MEMORY" on Mon, 07 Jan 2008 14:11:23 +0000 Hello Moshe, > I'm using postie to send emails from clipper application. The Clipper > application creates a batch file and > I use RUN CALL to run the batch file which include the postie with all > its > parameters. > No problems when running postie under win 98. > > When running under win xp i receive an error: "PROGRAM TOO BIG TO FIT > IN > MEMORY" > The RAM is 2 Giga. I've tried 3 versions of postie.exe > When running the batch file (while the application is still running) > directly from the command line it works OK. > > Any idea? Any chance your batch file is not running and the "PROGRAM TOO BIG" is refering to the command processor? It appears like Postie is not a MsDos application, so I would think the problem would be Clipper having enough room in the NTVDM to load the command processor to run the batch script. Regards, Rodd Graham, Consultant Graham Automation Systems, LLC | |
Moshe Yarden | Re: postie.exe: -> "PROGRAM TOO BIG TO FIT IN MEMORY" on Mon, 07 Jan 2008 17:20:56 +0200 Hi Rodd, Thanks. You might be right. I don't know for sure. I attach the message I get. It does run under win98 but not under winXP. And as I wrote: when I execute the batch file (postie is a command line application), while the clipper application is still on, I don't get the error message and it send the message. Is there a way to manipulate the NTVDM ? Thanks, Moshe Yarden "Rodd Graham" <rgraham@grahamautomation.com> wrote in message news:6c56a922366898ca1f1c06faa251@news.alaska-software.com... > Hello Moshe, > >> I'm using postie to send emails from clipper application. The Clipper >> application creates a batch file and >> I use RUN CALL to run the batch file which include the postie with all >> its >> parameters. >> No problems when running postie under win 98. >> >> When running under win xp i receive an error: "PROGRAM TOO BIG TO FIT >> IN >> MEMORY" >> The RAM is 2 Giga. I've tried 3 versions of postie.exe >> When running the batch file (while the application is still running) >> directly from the command line it works OK. >> >> Any idea? > > Any chance your batch file is not running and the "PROGRAM TOO BIG" is > refering > to the command processor? > > It appears like Postie is not a MsDos application, so I would think the > problem > would be Clipper having enough room in the NTVDM to load the command > processor > to run the batch script. > > Regards, > > Rodd Graham, Consultant > Graham Automation Systems, LLC > > memory-problem.jpg | |
Carlos Beling | Re: postie.exe: -> "PROGRAM TOO BIG TO FIT IN MEMORY" on Mon, 07 Jan 2008 15:01:33 -0200 Hi Moshe: good afternoon. The batch file is started by a copy of cmd.exe (type in DOS PROMPT cmd /? for seeing). If you call some program that run cmd again you may stay in a recursive loo. Beling Cheers Moshe Yarden escreveu: > Hi Rodd, > > Thanks. > > You might be right. I don't know for sure. I attach the message I get. > It does run under win98 but not under winXP. > > And as I wrote: when I execute the batch file (postie is a command line > application), while the clipper application is still on, I don't get the > error message > and it send the message. > > Is there a way to manipulate the NTVDM ? > > > Thanks, > Moshe Yarden > > > > > "Rodd Graham" <rgraham@grahamautomation.com> wrote in message > news:6c56a922366898ca1f1c06faa251@news.alaska-software.com... >> Hello Moshe, >> >>> I'm using postie to send emails from clipper application. The Clipper >>> application creates a batch file and >>> I use RUN CALL to run the batch file which include the postie with all >>> its >>> parameters. >>> No problems when running postie under win 98. >>> >>> When running under win xp i receive an error: "PROGRAM TOO BIG TO FIT >>> IN >>> MEMORY" >>> The RAM is 2 Giga. I've tried 3 versions of postie.exe >>> When running the batch file (while the application is still running) >>> directly from the command line it works OK. >>> >>> Any idea? >> Any chance your batch file is not running and the "PROGRAM TOO BIG" is >> refering >> to the command processor? >> >> It appears like Postie is not a MsDos application, so I would think the >> problem >> would be Clipper having enough room in the NTVDM to load the command >> processor >> to run the batch script. >> >> Regards, >> >> Rodd Graham, Consultant >> Graham Automation Systems, LLC >> >> > > | |
Rodd Graham | Re: postie.exe: -> "PROGRAM TOO BIG TO FIT IN MEMORY" on Mon, 07 Jan 2008 19:37:27 +0000 Hello Moshe, > You might be right. I don't know for sure. I attach the message I get. > It does run under win98 but not under winXP. > > And as I wrote: when I execute the batch file (postie is a command > line > application), while the clipper application is still on, I don't get > the > error message > and it send the message. > Is there a way to manipulate the NTVDM ? > By default NTVDM uses _default.pif to configure memory if a more specific .pif is not used. However, you problem is probably in the original 640K conventional memory. If you are using Blinker, you should try the SwapRun functions which will move your Clipper outside of the 640K while the child process is running. Regards, Rodd Graham, Consultant Graham Automation Systems, LLC | |
Carlos Beling | Re: postie.exe: -> "PROGRAM TOO BIG TO FIT IN MEMORY" on Mon, 07 Jan 2008 18:10:46 -0200 Hi: good afternoon. I had several problems running the RUN command and SwpRunCmd (of Blinker) in XP. I solved the problems putting InKey(3) after the SwpRunCmd(). If you think it may be useful I attached the code I use. Beling Best regards. Rodd Graham escreveu: > Hello Moshe, > >> You might be right. I don't know for sure. I attach the message I get. >> It does run under win98 but not under winXP. >> >> And as I wrote: when I execute the batch file (postie is a command >> line >> application), while the clipper application is still on, I don't get >> the >> error message >> and it send the message. >> Is there a way to manipulate the NTVDM ? >> > > By default NTVDM uses _default.pif to configure memory if a more > specific .pif is not used. > > However, you problem is probably in the original 640K conventional > memory. If you are using Blinker, you should try the SwapRun functions > which will move your Clipper outside of the 640K while the child process > is running. > > Regards, > > Rodd Graham, Consultant > Graham Automation Systems, LLC > > > RunCmd.prg | |
Pablo Botella | Re: postie.exe: -> "PROGRAM TOO BIG TO FIT IN MEMORY" on Mon, 07 Jan 2008 21:57:11 +0100 Hi, Try with RUN "START /SEPARATE postie.exe params" Regards, Pablo Botella | |
AUGE_OHR | Re: postie.exe: -> "PROGRAM TOO BIG TO FIT IN MEMORY" on Mon, 07 Jan 2008 22:37:46 +0100 hi, > I'm using postie to send emails from clipper application. The Clipper > application creates a batch file and > I use RUN CALL to run the batch file which include the postie with all its > parameters. > > No problems when running postie under win 98. > > When running under win xp i receive an error: "PROGRAM TOO BIG TO FIT IN > MEMORY" > The RAM is 2 Giga. I've tried 3 versions of postie.exe > > When running the batch file (while the application is still running) > directly from the command line it works OK. "CALL" will load a new Instanze from Command.COM so your "Real" Mode (640KB) Memory will decrease. Try MEM Command to "see" how much "Real" Mode Memory you have left. Using Cl*pper with Blinker you can try use "Protect" Mode AND you have to create a Command.COM PIF File to "enable" high Memory like EMS (not XMS). greetings by OHR Jimmy | |
Moshe Yarden | Re: postie.exe: -> "PROGRAM TOO BIG TO FIT IN MEMORY" on Tue, 08 Jan 2008 08:53:41 +0200 Thanks to all. I'm using: exospace for linking. EXOSPACE PACKAGE NOVM EXOSPACE EXECUTABLE CLIPPER //MINMEM:1800 I've tried: RUN "START /SEPARATE postie.exe params" but i get: "Bad command or file name". What is puzzling me is how it runs under win98 with less ram, but not under win xp. Thanks, Moshe "AUGE_OHR" <AUGE_OHR*AT*WEB.DE> wrote in message news:67832524$4bdc9198$1760@news.alaska-software.com... > hi, > >> I'm using postie to send emails from clipper application. The Clipper >> application creates a batch file and >> I use RUN CALL to run the batch file which include the postie with all >> its parameters. >> >> No problems when running postie under win 98. >> >> When running under win xp i receive an error: "PROGRAM TOO BIG TO FIT IN >> MEMORY" >> The RAM is 2 Giga. I've tried 3 versions of postie.exe >> >> When running the batch file (while the application is still running) >> directly from the command line it works OK. > > "CALL" will load a new Instanze from Command.COM so your > "Real" Mode (640KB) Memory will decrease. > Try MEM Command to "see" how much "Real" Mode Memory > you have left. > > Using Cl*pper with Blinker you can try use "Protect" Mode AND > you have to create a Command.COM PIF File to "enable" high > Memory like EMS (not XMS). > > greetings by OHR > Jimmy > | |
AUGE_OHR | Re: postie.exe: -> "PROGRAM TOO BIG TO FIT IN MEMORY" on Tue, 08 Jan 2008 16:45:25 +0100 hi, > I'm using: exospace for linking. > EXOSPACE PACKAGE NOVM > EXOSPACE EXECUTABLE CLIPPER //MINMEM:1800 i do not remember Exospace setting, but i know it will work with EMS. greetings by OHR Jimmy | |
Rodd Graham | Re: postie.exe: -> "PROGRAM TOO BIG TO FIT IN MEMORY" on Tue, 08 Jan 2008 12:39:28 +0000 Hello AUGE_OHR" AUGE_OHR*AT*WEB.DE, > Using Cl*pper with Blinker you can try use "Protect" Mode AND you have > to create a Command.COM PIF File to "enable" high Memory like EMS (not > XMS). My experience was that protected mode Blinker on the NT kernel used DPMI memory only. I was never able to use the EMS/XMS options under XP. I also had trouble with DPMI memory occassionally exhausting. I never traced the process that caused this, but was able to determine it was outside of the Clipper process. FWIW, this DPMI problem along with exceeding the 64MB Blinker space is what caused me to updated to Xbase++. Regards, Rodd Graham, Consultant Graham Automation Systems, LLC | |
AUGE_OHR | Re: postie.exe: -> "PROGRAM TOO BIG TO FIT IN MEMORY" on Tue, 08 Jan 2008 16:46:58 +0100 hi, > My experience was that protected mode Blinker on the NT kernel used DPMI > memory only. I was never able to use the EMS/XMS options under XP. the "trick" is to create a PIF for Command.COM and enable EMS in that PIF file (see Attachment) greetings by OHR Jimmy MEM.JPG | |
Rodd Graham | Re: postie.exe: -> "PROGRAM TOO BIG TO FIT IN MEMORY" on Tue, 08 Jan 2008 18:08:17 +0000 Hello AUGE_OHR" AUGE_OHR*AT*WEB.DE, >> My experience was that protected mode Blinker on the NT kernel used >> DPMI memory only. I was never able to use the EMS/XMS options under >> XP. >> > the "trick" is to create a PIF for Command.COM and enable EMS in that > PIF file (see Attachment) I should say EMS/XMS for the Blinker protected mode space. EMS certainly worked for maximizing the 1M of conventional memory. Once Blinker protected mode was active, conventional memory was never an issue. I had already tweeked my .PIFs to maximize Clipper/Blinker memory. Regards, Rodd Graham, Consultant Graham Automation Systems, LLC | |
Frankie | Re: postie.exe: -> "PROGRAM TOO BIG TO FIT IN MEMORY" on Wed, 09 Jan 2008 01:53:37 +0800 Hello Moshe, I remembered i did set something while my clipper app cannot handle too large the database. It quit suddenly while loading from huge database and process update. Then i did some research and found OPTEDIT.EXE. What i did was to use OPTEDIT to allocate the memory. "OPTEDIT APP.EXE -EXTRAMIN 4096 -NOBANNER" -EXTRAMIN is to alocate more memory -NOBANNER is to not show the banner You can try run OPTEDIT without parameters and it will show you how to set it. Hopes that help. Frankie On Mon, 07 Jan 2008 13:22:30 +0200, Moshe Yarden wrote: > Hi, > > I'm using postie to send emails from clipper application. The Clipper > application creates a batch file and > I use RUN CALL to run the batch file which include the postie with all its > parameters. > > No problems when running postie under win 98. > > When running under win xp i receive an error: "PROGRAM TOO BIG TO FIT IN > MEMORY" > The RAM is 2 Giga. I've tried 3 versions of postie.exe > > When running the batch file (while the application is still running) > directly from the command line it works OK. > > > > Any idea? > > > > > > Thanks, > > Moshe Yarden | |
Moshe Yarden | Re: postie.exe: -> "PROGRAM TOO BIG TO FIT IN MEMORY" on Tue, 08 Jan 2008 21:15:48 +0200 Hello Frankie, Thanks. I'll try it. Meanwhile I found a replacement for postie - vMailer. The VMailer works ok from a batch file using RUN CALL within the clipper application. However I need still to study it. Thanks, Moshe "Frankie" <frankie@sabah.com> wrote in message news:1efr1ons9y0bw$.1knh8binuxics$.dlg@40tude.net... > Hello Moshe, > > I remembered i did set something while my clipper app cannot handle too > large the database. It quit suddenly while loading from huge database and > process update. Then i did some research and found OPTEDIT.EXE. > > What i did was to use OPTEDIT to allocate the memory. > > "OPTEDIT APP.EXE -EXTRAMIN 4096 -NOBANNER" > > -EXTRAMIN is to alocate more memory > -NOBANNER is to not show the banner > > You can try run OPTEDIT without parameters and it will show you how to set > it. > > Hopes that help. > > Frankie > > > > On Mon, 07 Jan 2008 13:22:30 +0200, Moshe Yarden wrote: > >> Hi, >> >> I'm using postie to send emails from clipper application. The Clipper >> application creates a batch file and >> I use RUN CALL to run the batch file which include the postie with all >> its >> parameters. >> >> No problems when running postie under win 98. >> >> When running under win xp i receive an error: "PROGRAM TOO BIG TO FIT IN >> MEMORY" >> The RAM is 2 Giga. I've tried 3 versions of postie.exe >> >> When running the batch file (while the application is still running) >> directly from the command line it works OK. >> >> >> >> Any idea? >> >> >> >> >> >> Thanks, >> >> Moshe Yarden | |
Moshe Yarden | Re: postie.exe: -> "PROGRAM TOO BIG TO FIT IN MEMORY" on Sun, 13 Jan 2008 19:27:34 +0200 Thank you all for your help. It seems that the solution for the "program too big..." is to shorten the command line in the batch file, and to include the needed parameters (to the emailer: postie) in a config file. It solved the problem. Thanks agian, Moshe Yarden "Moshe Yarden" <yarden@emco.co.il> wrote in message news:1b9bf94b$59af3d2f$b91@news.alaska-software.com... > Hello Frankie, > > Thanks. I'll try it. > > Meanwhile I found a replacement for postie - vMailer. The VMailer works ok > from a batch file using RUN CALL within the clipper application. > However I need still to study it. > > > Thanks, > Moshe > "Frankie" <frankie@sabah.com> wrote in message > news:1efr1ons9y0bw$.1knh8binuxics$.dlg@40tude.net... >> Hello Moshe, >> >> I remembered i did set something while my clipper app cannot handle too >> large the database. It quit suddenly while loading from huge database and >> process update. Then i did some research and found OPTEDIT.EXE. >> >> What i did was to use OPTEDIT to allocate the memory. >> >> "OPTEDIT APP.EXE -EXTRAMIN 4096 -NOBANNER" >> >> -EXTRAMIN is to alocate more memory >> -NOBANNER is to not show the banner >> >> You can try run OPTEDIT without parameters and it will show you how to >> set >> it. >> >> Hopes that help. >> >> Frankie >> >> >> >> On Mon, 07 Jan 2008 13:22:30 +0200, Moshe Yarden wrote: >> >>> Hi, >>> >>> I'm using postie to send emails from clipper application. The Clipper >>> application creates a batch file and >>> I use RUN CALL to run the batch file which include the postie with all >>> its >>> parameters. >>> >>> No problems when running postie under win 98. >>> >>> When running under win xp i receive an error: "PROGRAM TOO BIG TO FIT IN >>> MEMORY" >>> The RAM is 2 Giga. I've tried 3 versions of postie.exe >>> >>> When running the batch file (while the application is still running) >>> directly from the command line it works OK. >>> >>> >>> >>> Any idea? >>> >>> >>> >>> >>> >>> Thanks, >>> >>> Moshe Yarden > > |