Dealing with ExtendScript hangs and long processing times?

Just curious if an ExtendScript for some reason hangs (or takes really long time to run), you just have to kill it externally right? Or is there some other Adobe scripting feature I'm not aware of that deals with that scenario?
So I'm guessing the best option to deal with hangs or long processing time is to:
have an external monitoring tool/service to check up on the ExtendScript execution and handle appropriately as needed (kill it, log info)
use the COM API (e.g. VBScript, though other COM compatible languages ok) or Applescript API (called directly or called by other programming languages) instead of ExtendScript for their additional programming and/or multi-threading capabilities

Using whose in Snow Leopard is a lot slower for some reason. SInce you are already using a shell script, you might try using find. Various shell scripts to copy, find, move, etc, can also use wildcard characters.

Similar Messages

  • How do I deal with project bloat? Long Save time is getting worse?

    Here are the FB posts I have got about this issue. I tried to paste them neatly but didn't work.
    To be honest I am baffled that such an advanced NLE has so many issues. There should be a warning about the Warp Stabilizer messing up a project I had no idea till now.
    This was my question to a PP user group on FB.
    I am cutting a 60+ minute doc with lots of source material and the project takes a dogs age to save now which is beginning to interrupt my workflow. I would have thought the save would take less time depending on how much work was done since the last save. I suppose working with Proxies might be the solution but I am already 70% done.
    Here are the responses
    Saving the project file on an SSD might be a good idea.
    Your project size is slowing you down. Create a couple of projects, each containing a part of the footage. Organized in bins as needed. Call them footage projects. Create an other project named edit and cut in there. Use the media browser to browse the footage projects. Import what you need and use search bins to keep it organized.
    If you didn't transcode your footage before you started the project it could be part of the problem. And like the other post says only having the footage you are currently working on will also help. The claim that you don't have to transcode when working in Premiere is misleading because in most cases when working with many different source codecs transcoding will always improve your computers performance.
    I had the exact same experience cutting a 90 min feature with 120 hours of Pro Res 4444 footage. Long save times are caused by project bloat, either by having too many assets loaded or a lot of warp stabilizer effects applied. Transcoding will only affect playback performance and exports - it doesn't sound like it's the problem in this case.
    only some codecs (4K GoPro, 6K R3D, lengthy h264/AVCHD clips for example) benefit from transcoding and will be snappier and playback smoother. But transcoding will never ever help the loading or saving time of your project
    Don't apply warp stabilizsr to everything. All those coordinates get stored in project file
    All I can say is that I worked on a Premiere project in November where my computer spent up to 5-7 minutes scanning through all the different directories with footage after the project was open before I could play back the sequences in my project. I ha...
    some of the ftg is in need of stabilization so I did use the warp stabilizer but not excessively. 15 x 3-10 second clips. Is there a way of managing the storage of the coordinates too minimize the hit on the project size?
    nope. Try importing existing project into a new project.
    I usually stabilize footage in a separate project to avoid huge project files, and export the stabilized result. Then I use the stabilized version in the main project.
    I also work with Nested Sequences a lot. Working in short, manageable timelines. When opening a large project, Premiere will find the footage for the active sequence first, so I can start working quickly, while Premiere is still finding the rest of the footage.
    Could do your warp stabilizing in AE and export renders of them, then import those renders into your project so the are just media files instead of files with stabilizer tracking points.

    I usually stabilize footage in a separate project to avoid huge project files, and export the stabilized result. Then I use the stabilized version in the main project.
    That would be something like  the advice I would have given
    and  more likely...
    Save heavy duty  FX application until after you have locked down your edit. (eg Blurs , Warp, 3rd party FX(MB)
    I Create separate sequences or Duplicate Projects for many reasons.  eg CC/Grade  and
    Warp Stabiliser ...definitely.  Its even has a slow save  impact on After Effects Projects!

  • HT1338 I have a problem with the calendar and notifications, every time I dismiss or snooze locks up and hangs, just reboot goes.

    I have a problem with the calendar and notifications, every time I dismiss or snooze locks up and hangs, just reboot goes.

    Have you run Disk Utility/Repair Permissions and/or deleted the .plist from your user library To see the user library, hold down the option key while using the Finder Go to Folder command.

  • Have functional difference with GPU acceleration and software processing of Mercury Playback Engine?

    Used Decklink SDI and Premiere CS6 to testing.
    I have a question~Have functional difference with GPU acceleration and software processing of Mercury Playback Engine?
    (Can GPU acceleration export same used 59.94i external monitor export?).
    IN specification,Is it need“software processing”? whether other restrictions?
    If Anyone know please tell me.
    thank you.

    Thank you for your help, and sorry about didn't make it clear.
    Use Decklink SDI and Premiere CS6 to test.
    In GPU mode of Mercury Engine, the signal form SDI is 1080i, but  even fields will be missing.
    Take a simple test:
    Make quick slide for reproduce animationin in quadrangle(1080i 29.97),  but it can't paly smooth and same gone to 30P.
    If in Software mode, the action can be smooth.
    Although use Software mode can be ok,but if GPU does not realize,it will take long time to render.
    system info:
    macpro 10.8.1
    premiere cs6.0.2
    blackmagic driver 9.6.4
    GTX285
    sequence of premiere
    Presets/blackmagic/8bit YUV/interlace/59.94i
    Have any problems with my System or the  GPU mode can no  external monitor output in 59.94?
    IN specification,Is it need“software processing”? whether other restrictions?
    thank you!

  • ITunes loses my entire library with artwork, playlists and podcasts every time I close the program. Any advice very welcome

    iTunes loses my entire library with artwork, playlists and podcasts every time I close the program. Upon restarting it takes at least 15 minutes to rebuild the library and podcasts and a lot longer to replace the artwork, I also lose playlists. I would really welcome some feedback and assistance here and am losing faith in the Apple product. Since iTunes has been updated to version 11 it seems to have caused a lot of issues for many people. I am hopeful of a reply and a resolution. I have approx. 1200 albums at just under 90 Gb. Thanks in advance for any help.

    Ditch AVG (at this stage it really does seem to be the problem for some people) and install Microsoft Security Essentials...
    tt2

  • How to deal with Physical Inv and Q stock

    Hi,
    Can someone help me with the following query
    How to deal with Physical Inv and Q stock

    Hi,
    The process remains the same. However when you create the PID ensure that it gets created using st. type as 2 (QI stock).
    Hope that helps.
    Regards,
    Pravin

  • I need to reinstall my computer, how do I deal with Premiere pro and After effects?

    Hello,
    As my question states I need to reinstall my computer (laptop) and I'm not quite sure on how to deal with Premiere pro and After effects.
    I am thinking that I need to do some sort of backup and save my projects and footage on a sepparate drive.
    If I reinstall my computer, install my creative suit production premium, and move back all of my projects and footage, won't I have to re-link every single clip?
    I am currently workning on several different projects and having to re-link everything is something I don't even want to think about, that would take me days if not weeks.
    Another option on my mind would be to use Creative cloud. I do have the free version but I have never used it even once before and I'm not quite sure what the purpose of the cloud is and if this is a way to use it.
    I have no idea how to go about this computer reinstalation without either loosing tons of work or having to re-link every single clip used.
    I am videoediting only as a hobby so I have no experience working with other people and sharing projects or the like, wich is my understanding of what the cloud is for.
    Any and all help would be grealty appreciated, I know this is probably really easy but ever since i got my Suit I haven't reinstalled, upgraded och changed my computer so I am just clueless as to how to go about this.
    I have Creative suit production premium, I also have the free Creative cloud.
    It is only Premiere pro and After effects that I am using and am worried about.
    Thank you for any help.
    -Lisa Kajupank
    (and oh, I just notice my name - umustbejoking - I think I just wrote that cause they wouldn't let me use anything else, saying it was already taken. So nevermind that haha.)
    Message was edited by: umustbejoking

    If the computer's running Mac OS X, move the cursor to the very top of the computer's screen, click on Store, and choose Authorize this Computer.
    If the computer's running Windows, press the Alt and S keys and choose Authorize this Computer, or click here, follow the instructions, click on Store in the menu bar, and choose Authorize this Computer.
    (84620)

  • Report with material number and planned delivery time

    Is there any standard report with material number and planned delivery time ?

    Hi,
    I do not know any standard report. Please try SE16 + MARC...
    BR
    Csaba

  • Alert with event for delayed job and long execution time

    Dear All,
    We are planning to send alert via email in case job delayed or long execution time.
    I have followed below steps:
    1) Create event Raise Event when job is delayed.
    2) create job chain with STEP1, Job 1 and assign event in raise event parameter.
    3) Once job chain delayed it should raise events.
    4) Above event should trigger custom email but I can not put the Mail_To parameter as IN parameter. And can not be recognized during
    execution.
    It ends with the below error.
    Details:
    JCS-122035: Unable to persist: JCS-102075: Mandatory parameter not set: Parameter Mail_To for job 20413
    at com.redwood.scheduler.model.SchedulerSessionImpl.writeDirtyListLocal(SchedulerSessionImpl.java:805)
    at com.redwood.scheduler.model.SchedulerSessionImpl.persist(SchedulerSessionImpl.java:757)
    Please let us know if anybody knows how to add Mail_To parameter to script.
    Any help is appreciated.
    Thanks in advance.
    Regards,
    Jiggi

    Dear Jiggi,
    where will you define execution time of particular job? because some jobs will take only 1 or 2 minutes, but some jobs normally take more than hours, so how will you decide execution time of individual jobs?
    i thinks you can use P_TO Parameter for sending mail, if you want to add some output log activate spool output script.
    Thanks and regards
    Muhammad Asif

  • Long processing time but why?

    Hi all .......
    in TCode STAD "SAP WorkLoad: Single Statistical Records - Details".
    some time or many times I found that, processing time is 10 time of cpu time.
    and there no bottleneck in CPU its always free and also Roll wait time.
    So can some one tell me where the long waiting time come from?
    Thank you

    Hi,
    SAP note 8963 eplains the definition of the processing time. And SAP note 99584 explains why a very large processing time might appear in STAD.
    If a long running dialog step performs many DB operations then an overflow in the DB statistic may occur. Reason: a 4-byte counter for microseconds will wrap around after approx. 71 minutes. Then the measured DB time is very small compared to the response time. This is the reason why a very large processing time is shown.
    Maybe this explains your situation. It has been solved with SAP_BASIS 700 where larger counters have been implemented.
    I hope this information helps.
    Kind Regards,
    Andreas

  • Canadian BC users, how are you dealing with HST, GST and PST/QST?

    Hi, I'm new here and I've been building my first BC eCommerce site for a client for almost a year. It's a business to business site, dealing with about 5000 SKUs. It's currently in trial mode, and we're about to go live with it. I have a problem with taxes I hoped I'd be able to sort out, but haven't found a solution.
    My client's head office is in Ontario and they sell from there, and also from Quebec, though online sales will be limited from Ontario for now. Ontario, like B.C., where I am, and a number of other provinces have HST. The remaining provinces have GST and PST/QST, except Alberta, which only has GST. My client sells thoughout Canada, and also to the U.S.
    Scenario 1) When one sells from an HST province to a customer in another HST province, the seller must collect and remit the HST for the buyer's province. For example, I work from B.C. with 12% HST, and my client has 13% HST in Ontario. I have to invoice them for my services, collecting and remitting 13% HST.
    Scenario 2) When one sells from any province to a customer in a non-HST province other than Quebec, the seller charges GST and is encouraged, and depending on the province they are selling to, required, to register for that province's PST and collect and remit that tax as well. Otherwise the customer is required to self-assess the PST on the purchase.
    Scenario 3) When one sells from any province to a customer in Quebec, they must apply the GST to the purchase, and then apply the QST (Quebec Sales Tax) to that total. Again, out of province sellers are expected to collect and remit the QST.
    Scenario 1 is fine. Currently I've set up all HST provinces with their corresponding rate.
    Scenario 2 is problematic from a legal taxation standpoint. I've set up all GST+PST provinces and Quebec with 5% GST only. This will not be acceptable to my client as their sales volumes are quite high and they have to remit other province's PST.
    Scenario 3 seems impossible on BC, but will become a lesser problem until January 2013, when Quebec changes to Scenario 2 (i.e. the QST will no longer piggy-back the GST but will be raised so there is no change to the total tax)
    Further, most businesses will want to see the GST and PST appear separately on the invoice, not calculated together as seems to be the case now.
    Has anyone managed to set up GST and PST/QST in the system, so both taxes appear in the cart/checkout process, and separately on the invoice?
    Thanks for any assistance!

    This might require the discussion to move to the advanced code development section, but I'll post it here first anyway.
    So after about 2 weeks, I'm not sure there's a solution to this. I've tried a variety of JavaScript and JQuery approaches to do a show/hide of the appropriate tag based on the province chosen in the {tag_shippingoptions} drop down. The cleanest way was with JQuery and I got it to work outside of Business Catalyst, but not when implemented in my cart.
    The problems seems to be threefold.
    1. The onchange of the "shipping state" dropdown calls ApplyTaxRate() in an unmodifiable back-end .js file. If I try to have local JS or JQ work on the same function call to do my show/hide, not only does the show/hide not work, but it breaks communication with the back-end .js so no taxes get calculated/updated.
    2. If I create my own shipping menus calling the same functions (acutally just copy/pasted the inspected HTML), the taxes update OK, but the menu selections don't persist, AND if I then inject my show/hide, the show/hide doesn't work and all the functionality of the ApplyTaxRate function breaks.
    3. If I try to call an additional function for the show/hide, from the onchange of my own menu, the ApplyTaxRate function works, but the additional fucntion doesn't work as it does outside of BC.
    Here is my partial code. Any help?
    <div class="shippingStateDiv"><span id="shippingStateSpan">Destination State<br />
                </span><select onchange="ApplyTaxRate(this.value,4638834,1,1,332304);taxDisplay(this.value);" class="shippingDropDown" id="shippingState" name="shippingState">
                <option value="-1">Please Select</option>
                <option value="147264">AB</option>
                <option value="130632">BC</option>
                <option value="147266">MB</option>
                <option value="130633">NB</option>
                <option value="130634">NL</option>
                <option value="130635">NS</option>
                <option value="147269">NT</option>
                <option value="147270">NU</option>
                <option value="130631">ON</option>
                <option value="147268">PE</option>
                <option value="147267">QC</option>
                <option value="147265">SK</option>
                <option value="147271">YT</option>
                </select></div>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
            <script>
    function taxDisplay(id) {
        var mySel = $("#shippingOptions").children("option:selected").text().replace(/\s/g,"")
        $('.answers').hide() 
        $('.answer'+mySel).show()       
    </script>
    <td><strong>
                <div class="answerPleaseSelect answers" style="display: none;">Choose Dest. State</div>
                <div class="answerAB answers" style="display: none;">GST: {tag_invoicetotaltaxamount}</div>
                <div class="answerBC answers" style="display: none;">HST: {tag_invoicetotaltaxamount}</div>
                <div class="answerMB answers" style="display: none;">{tag_invoicetotaltaxamount,MB,7,GST,PST}</div>
                <div class="answerNB answers" style="display: none;">HST: {tag_invoicetotaltaxamount}</div>
                <div class="answerNL answers" style="display: none;">HST: {tag_invoicetotaltaxamount}</div>
                <div class="answerNS answers" style="display: none;">HST: {tag_invoicetotaltaxamount}</div>
                <div class="answerNT answers" style="display: none;">GST: {tag_invoicetotaltaxamount}</div>
                <div class="answerNU answers" style="display: none;">GST: {tag_invoicetotaltaxamount}</div>
                <div class="answerON answers" style="display: none;">HST: {tag_invoicetotaltaxamount}</div>
                <div class="answerPE answers" style="display: none;">{tag_invoicetotaltaxamount,PE,10.5,GST,PST}</div>
                <div class="answerQC answers" style="display: none;">{tag_invoicetotaltaxamount,QC,9.975,GST,QST}</div>
                <div class="answerSK answers" style="display: none;">{tag_invoicetotaltaxamount,SK,5,GST,PST}</div>
                <div class="answerYT answers" style="display: none;">GST: {tag_invoicetotaltaxamount}</div>
                </strong></td>

  • New iTunes upgrade, causes Long process time, re: itunes updating library

    I just updated iTunes and I let it Update(the iTunes Library) but it keeps getting stuck around 25% and takes all of the processor time around %94, I let it go about 2 hours and I get frustrated and quit.
    what is going on? Ho wdo I prevent it from updating so I Can LISTEN to some Music?????? I have around 60gb of music and podcasts/videos/books ect., how long does it take to update?? It has been over 5 hours dealing with this already, so Please tell me how to stop it from updating!!! I want MUSIC!!! nOW!

    Nevermind, I just erased the Library File and Reimported everything, I got Tired of waitng for it to finish.

  • Log page start and end process time.

    Hi:
    I want to trace my JSP/Servlet process time,who know how to set up
    weblogic to log when the page start process and when it finish.
    Thanks.
    Jason
    Shi([email protected])
    2000/11/3

    Jason Shi <[email protected]> wrote:
    Hi:
    I want to trace my JSP/Servlet process time,who know how to set up
    weblogic to log when the page start process and when it finish.You can implement a common JSP superclass and specify it either using
    <%@ page extends="foo.Super" %> directive, or -superclass jspc command-line
    option. For example:
    package foo;
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.servlet.jsp.*;
    public abstract class Super implements HttpJspPage {
    private ServletConfig config;
    final public void init(ServletConfig config) throws ServletException {
    this.config = config;
    jspInit();
    final public ServletConfig getServletConfig() {
    return config;
    public String getServletInfo() {
    return "blah blah";
    final public void destroy() {
    jspDestroy();
    final public void service(ServletRequest req, ServletResponse res)
    throws ServletException, IOException {
    long timeStarted = System.currentTimeMillis();
    _jspService((HttpServletRequest)req, (HttpServletResponse)res);
    System.out.println(((HttpServletRequest)req).getRequestURI() +
    " took "
    + (System.currentTimeMillis()-timeStarted)
    + " milliseconds to execute");
    abstract public void _jspService(HttpServletRequest request,
    HttpServletResponse response) throws ServletException, IOException;
    public void jspDestroy() {}
    public void jspInit() {}
    Dimitri

  • How to deal with Portal, Workshop, and non-BEA software?

    Hi,
    I'm really new to working with portal, and have looking into integrating a single sign-on software (RSA ClearTrust) into existing portal code.
    The ClearTrust installation involves installation of a bunch of software that integrates with the portal software, but I found that if the portal code was developed with Workshop, that if Workshop is run again after the ClearTrust integration has been done, that Workshop appears to overwrite some of the XML configuration files (e.g., web.xml).
    The result of this is that the WebLogic server won't start.
    So, I was wondering if anyone here has had to deal with this kind of situation, not necessarily with ClearTrust specifically, but maybe with other products?
    I'm not looking forward to re-doing the integration everytime someone makes some portal code changes :(...
    Thanks in advance,
    Jim

    There are really two types of Graphic Styles - Object level styles and Group level styles. There is no way to tell which style is which. So if you have an Object level Style and try to apply it to a group of objects or often a compound shape, you get each individual object having the style. If you have a Group level style and try to apply it to only an object, you often get nothing applied.
    It perhaps sounds like you have an Object level style and are trying to apply it to a group.
    There's no way to convert an Object level style to a Group level style or vice versa. The best (and pretty much only) way I've found to get around this is to apply the style to teh correct level then make a note of all the style settings, select the other level and recreate the style for that level.
    Whether or not a style applies correctly has a great deal to do with specific aspects of the style in addition to what level the style was generated from. This is a frustrating aspect of Graphic Styles.

  • Dealing with dropped frames and out of sync audio

    Hi!
    I'm using Final Cut Studio 3 and I'm trying to record some video from a pretty old MiniDV-camera. The problem is that a have some dropped frames and when I record the whole thing it gets out of sync.
    By default Final Cut aborts the capture (without saving) when it finds dropped frames. That won't work for me. I start recording, it records a couple of minutes and then it just aborts without saving anything.
    I tried to record the entire tape when using the option of not aborting on dropped frames. I recorded the entire video but not it gets more and more out of sync later and later in the video.
    So, do you have any suggestions on how to deal with this? Maybe I can use an external application for this cause I haven't found a way to deal with this in Final cut.
    Best
    Felix

    Hi(Bonjour)!
    Did you shoot in DV or HDV ?
    Did you try to capture HDV with Apple Intermediate Codec 1080i60 (or 50 for europe)?
    Does you downconvert HDV shooted to DV upon capturing from camcorder ?
    DV-NTSC 48 kHz is the way to go with downconverted material.
    Does your DV audio setting is 16 bit on FX1 ? (HDV is a fixed one).
    Michel Boissonneault

Maybe you are looking for