[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 264: mysqli_fetch_assoc(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 326: mysqli_free_result(): Couldn't fetch mysqli_result
Pete's QBASIC Site Discuss QBasic, Freebasic, QB64 and more 2007-06-21T17:12:55-05:00 http://www.petesqbsite.com/phpBB3/app.php/feed/topic/2323 2007-06-21T17:12:55-05:00 2007-06-21T17:12:55-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=14380#p14380 <![CDATA[QB PGM run 40x in win full screen get error - pgm too large]]>
In the past, I too have had problems with programs that do multiple shells. Apparently, when you do a shell, when you come back, you don't have all the memory you had when you did the shell. I don't know why. It's like the shell operation didn't restore all the memory that it used during the operation. In your case, it adds up until you get an error.

If your main program generates reports, or data onto files which feed the report printing programs, then I suggest you split the process up and run your main program many times from a batch file. The idea of the batch file would be:
Run Main Program, which generates report1 data on workfile1.
Run Report Program that prints report1 from workfile1.
Run Main Program, which generates report2 data on workfile2.
Run Report Program that prints report2 from workfile2.
Run Main Program, which generates report3 data on workfile3.
Run Report Program that prints report3 from workfile3.
etc.

What do you think?

Regards..... Moneo

Statistics: Posted by moneo — Thu Jun 21, 2007 5:12 pm


]]>
2007-06-21T12:29:37-05:00 2007-06-21T12:29:37-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=14379#p14379 <![CDATA[QB PGM run 40x in win full screen get error - pgm too large]]>
f I shell to the other qb program exactly 40 times in Windows 2000
full screen - program aborts and console screen message is:
Program too Large.
your message, "Program too Large", seems to indicate that too much code is being loaded into memory. Assuming that none of the programs you are trying to load are actually "too large", my next thought is that you are NOT terminating one or more of the loaded programs.

To test my suggestion, please add some code to your "mother" program, so that, just before each call, it prints out the available memory, and stops, until you enter any key. If any of the reports of available memory inicates a diminution, check out that particular program for lack of an "END" or "SYSTEM" actuation. Perhaps one or more of your programs are returning BEFORE reaching an "END" command.

If you do try my suggestions, please report back your findings.

Statistics: Posted by Ralph — Thu Jun 21, 2007 12:29 pm


]]>
2007-06-21T10:20:17-05:00 2007-06-21T10:20:17-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=14376#p14376 <![CDATA[QB PGM run 40x in win full screen get error - pgm too large]]> Statistics: Posted by Patz QuickBASIC Creations — Thu Jun 21, 2007 10:20 am


]]>
2007-06-20T13:32:12-05:00 2007-06-20T13:32:12-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=14359#p14359 <![CDATA[QB PGM run 40x in win full screen get error - pgm too large]]> Statistics: Posted by MystikShadows — Wed Jun 20, 2007 1:32 pm


]]>
2007-06-20T13:19:56-05:00 2007-06-20T13:19:56-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=14358#p14358 <![CDATA[QB PGM run 40x in win full screen get error - pgm too large]]> Statistics: Posted by acs — Wed Jun 20, 2007 1:19 pm


]]>
2007-06-20T12:44:39-05:00 2007-06-20T12:44:39-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=14355#p14355 <![CDATA[QB PGM run 40x in win full screen get error - pgm too large]]> after 40 shells...it must be a resource thing on your computer.

what system do you have and such....


mine calls these programs

email
internet
dos prompt
dos calender
notepad
dxdiag
hearts

Statistics: Posted by sid6.7 — Wed Jun 20, 2007 12:44 pm


]]>
2007-06-20T07:48:33-05:00 2007-06-20T07:48:33-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=14352#p14352 <![CDATA[QB PGM run 40x in win full screen get error - pgm too large]]>
My first thought is: Do you terminate the program each time, or do all 40 remain running?
Main program calls report programs then returns each time. It doesnt
matter if each of the 40 times is to run a different program or not - each of the 40 terminate/close and return to main program. Thanks

Statistics: Posted by acs — Wed Jun 20, 2007 7:48 am


]]>
2007-06-19T21:53:23-05:00 2007-06-19T21:53:23-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=14351#p14351 <![CDATA[QB PGM run 40x in win full screen get error - pgm too large]]>
is there a point to this or just to see how
far you can push your computer?

Statistics: Posted by sid6.7 — Tue Jun 19, 2007 9:53 pm


]]>
2007-06-19T19:00:54-05:00 2007-06-19T19:00:54-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=14350#p14350 <![CDATA[QB PGM run 40x in win full screen get error - pgm too large]]> Statistics: Posted by Nodtveidt — Tue Jun 19, 2007 7:00 pm


]]>
2007-06-19T17:01:47-05:00 2007-06-19T17:01:47-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=14349#p14349 <![CDATA[QB PGM run 40x in win full screen get error - pgm too large]]> Statistics: Posted by Ralph — Tue Jun 19, 2007 5:01 pm


]]>
2007-06-19T14:24:14-05:00 2007-06-19T14:24:14-05:00 http://www.petesqbsite.com/phpBB3/viewtopic.php?p=14348#p14348 <![CDATA[QB PGM run 40x in win full screen get error - pgm too large]]> If I shell to the other qb program exactly 40 times in Windows 2000
full screen - program aborts and console screen message is:
Program too Large. I have changed config.nt to read files=100 thinking
that was the problem - but bombs out again after 40 shells. Anyone
have idea's on what the problem could be - or if other settings need
to be changed for the windows full screen. I believe the same message
was received in windows 98 as well. Thanks for any help

Statistics: Posted by acs — Tue Jun 19, 2007 2:24 pm


]]>