Article View: adobe.scripting.indesign
Article #17915More discussion on memory
From: John Darnell
Date: Wed, 07 May 2003 18:58
Date: Wed, 07 May 2003 18:58
13 lines
1276 bytes
1276 bytes
Hello Fellow Scripters: My script runs slowly. A goodly part of the problem is that I am iterating through a flat text file a character at a time. I am looking at ways to solve this problem and it has occurred to me that a first step to a solution might be to read the whole flat file into memory in one gulp. The potential problem with this is that the average size of these files are between 15 and 20Kb, with some getting as fat as 126Kb. I know that InDesign scripts (MAC 9.X) have a memory limit of 90Kb. Is data counted within that memory limit, or is this strictly code? TIA. John
Technical Details
Message-ID:
<1de908fa.-1@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!WebXShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,91a288daf42dd97b,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-05-07 12:10:10 PST From: "John Darnell" <John.Darnell@Walsworth.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: More discussion on memory Message-ID: <1de908fa.-1@WebX.la2eafNXanI> Date: Wed, 7 May 2003 11:58:10 -0700 Lines: 18 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit