Remember why was stated. Launch a process. Do something like this
$CurrentNumber_L:=start
repeat

Launch new process($CurrentNumber_L)
wait til  new process completes
$CurrentNumber_L:=$CurrentNumber_L+50



until (end)

The new process will export 50 pictures_

This method probably will clear memory issues when new process ends

Regards


Chuck
------------------------------------------------------------------------------------------------
 Chuck Miller Voice: (617) 739-0306
 Informed Solutions, Inc. Fax: (617) 232-1064       
 mailto:cjmiller<AT SIGN>informed-solutions.com 
 Brookline, MA 02446 USA Registered 4D Developer                
       Providers of 4D and Sybase connectivity
          http://www.informed-solutions.com  
------------------------------------------------------------------------------------------------
This message and any attached documents contain information which may be 
confidential, subject to privilege or exempt from disclosure under applicable 
law.  These materials are intended only for the use of the intended recipient. 
If you are not the intended recipient of this transmission, you are hereby 
notified that any distribution, disclosure, printing, copying, storage, 
modification or the taking of any action in reliance upon this transmission is 
strictly prohibited.  Delivery of this message to any person other than the 
intended recipient shall not compromise or waive such confidentiality, 
privilege or exemption from disclosure as to this communication. 

> On Apr 2, 2020, at 11:54 AM, Robert McKeever via 4D_Tech 
> <[email protected]> wrote:
> 
> So, I modified the code to use WRITE PICTURE FILE. Nice. Runs much faster. It 
> did quit late last night. And again this morning when I was also reading 
> email, this time with a system crash message - unable to grow buffer.
> 
> Once I finish with email, and the web, I’ll restart the machine and restart 
> the export from where it left off. It is having its problems when it goes to 
> export a series of 40Mb retinal scans.

**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to