Slow script when run as an application

I have created a script for processing images with Photoshop. When I run the script from Script Editor it completes its task literally twice as fast as when I run it as an application. Does any one have an explanation as to why this would be the case?
The script in summary asks the user for 2 folders, it then pairs up images from the folders, opens them both in Photoshop, copies the paths from one image to the other, crops the image and saves a copy in the appropriate place, then moves on to the next pair of images.
I don't understand why it woud run twice as sluggishly as an application?
Any suggestions much appreciated.

Rien,
I have also consistently seen the same problem, and asked a similar question a couple of years ago without a satisfactory response. If you write an AppleScript studio application your script will run at about the same speed as when running the script from script editor.
To observe the problem you just need an application script that is communicating information back and forth betweent the script and the application it is driving, and then check out the performance difference between running it as an application or not. If you run Activity Monitor you can see that the cpu spends plenty of its time idle when running the script as an application.
If you grab a copy of iMagine Photo from:
http://www.yvs.eu.com/downloads/iMaginePhoto.dmg
and get PhotoScript1 from about 1/2 down the following page:
http://www.yvs.eu.com/documentation/readingandwritin.html
Run the script from both within script editor and as the application droplet.
It demonstrates the problem. But I have seen worse, this was just the first script on my website that I found that demonstrates the problem.
Kevin

Similar Messages

  • Slow performance when running non-swing Application?

    I created a very simple GUI Application with some buttons. The App is sitting on a UNIX box and I am running it from my local PC. I have Hmmingbird Exceed running. It seems to come up very slowly. I am specifically not using any swing components. Is this normal? Anything I can do to speed it up? Thanks...

    Regardless of whther it's a Java or a Hummingbird
    issue, I think this is a valid place to ask for help
    about this since the odds of there being someone else
    here having conquered this same problem would be
    rather high.Yep, people have the problem. I have had the problem. I haven't seen anyone that claims a solution.
    >
    I would also guess that there isn't much of any wayto speed it up.
    What I don't understand is why the behavior of the
    Java app on the Unix box is quite fast and yet the
    redraw on the Exceed clent is excruciating slow. This
    effect does seem to be present with our older apps
    written in other languages.
    Why would Exceed treat a Java app differently than one
    written in any other language? I don't get it.
    I believe someone at some time suggested it has to do with the way java interacts with the unix environment. But my memory on the subject is very fuzzy and the person explaining might not have known what they were talking about.
    Of course I question the wisdom of running a GUIapplication written > in a language that is portable
    across platform via a remote access
    program in the first place.What is so unwise about it? The customer will run the
    app in Unix. I have a PC on my desk. I use exceed to
    connect to a Unix box to test behavior in Unix on my
    PC. Sounds wiser than walking halfway accross the
    company to sit in front of the Unix box.
    Testing, of course, should only be done in the environment that will actually be run.
    Admittedly I might be overly sensitive to this as I worked on a project where a customer complained about the same thing. Given that the contract did not specify running via hummingbird there was no grounds for complaint.

  • Problem when running a WebDynpro application

    Hi,
    Can any one help me in solving this.
    I got a problem when running a WebDynpro application Which used to run fine before, when i developed it.
    Now i got an error showing,
       <b>com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=B MSHOST=obtdev4 GROUP=SPACE R3NAME=O20 MSSERV=sapmsO20 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner '127.0.0.1:3320' not reached TIME Tue Aug 07 10:06:07 2007 RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -10 MODULE nixxi.cpp LINE 2764 DETAIL NiPConnect2 SYSTEM CALL connect ERRNO 10061 ERRNO TEXT WSAECONNREFUSED: Connection refused COUNTER 2</b>
    can any one tell me the solution for it.
    Thanks in advance,
    MrChowdary

    Arun,
    I had checked for the JCo Connection, tested it I got some error.
    But i am unable to understand where exately the problem is as is i already told that it used to work fine with same JCo.
    Thanks,
    Bharath.

  • Core dump when running the Proc Application

    I have client that has decided to upgrade from Oracle 10g to Oracle11g version. Presently the client code is compiled with Oracle version 11.1.0.7. We have tuxedo version as 9.0 patch02. When running the ProC application, I am getting the core dump. The stack trace for dump is as follows :-
    core 'core' of 7784: bp_Customer -C dom=KenanFX -g 5 -i 225 -u dsesun10 -U /users/denver/pc
    ffffffff6e8d9bbc kill (2, ffffffff7ffe002c, 1, ffffffff7de3b9a0, ffffffff7ffe0028, ffffffff7e10b5a0) + 8
    ffffffff7d27b1f4 skgesigCrash (ffffffff7ffe09a8, ffffffff7e10a070, 1a0c00, ffffffff7dfdbc40, d60a7c, 1) + 34
    ffffffff7d27b81c skgesig_sigactionHandler (ffffffff7d6fb9a0, ffffffff7ffe1800, ffffffff7ffe0990, ffffffff7e10b578, ffffffff7ffe0998, ffffffff7ffe09a8) + dc
    ffffffff6e8d62e0 __sighndlr (b, ffffffff7ffe1800, ffffffff7ffe1520, ffffffff7d27b740, 0, a) + c
    ffffffff6e8c9e44 call_user_handler (ffffffff75f00200, ffffffff75f00200, ffffffff7ffe1520, 8, 0, 0) + 3e0
    ffffffff6e8ca03c sigacthandler (0, ffffffff7ffe1800, ffffffff7ffe1520, ffffffff75f00200, 0, ffffffff6ea3c000) + 54
    --- called from signal handler with signal 0 (SIGEXIT) ---
    ffffffff7c24bb24 sqlrlc (ffffffff7e0f9fc0, 0, 60, c0, 4, 8) + 4
    ffffffff7c253594 sqlbrl (ffffffff7e0f9fc0, 1004bc630, 1004bc658, 1004bc5d0, ffffffff7ffe1b30, 2) + 114
    ffffffff7c2745ec sqlhvdsc (1004bc5c0, ffffffff7e0f9fc0, 8, ffffffff7fff27a0, 0, 1d676b0) + ac
    ffffffff7c274e68 sqlshv (c, 0, e, 0, f, 1c) + 128
    ffffffff7c25bd8c sqlsel (ffffffff7fff27a0, 1002d0850, 1002d0d80, 1, ffffffff7e0f9fc0, ffffffff7dd09d70) + 38c
    ffffffff7c24ed18 sqlcmex (1, ffffffff7ffe1e80, 0, c, 1002d0850, 0) + 278
    ffffffff7c24f724 sqlcxt (0, ffffffff74fd3800, ffffffff7fff27a0, ffffffff74e5d3e4, 16400, 0) + 44
    ffffffff74c65aec selectCMF_XIDDB (788, 16450, 2, ffffffff74fbb978, ffffffff7fff4344, ffffffff7971de60) + f14
    ffffffff79f5743c bp_AccountFind (0, 0, 1002b6118, 1002b6118, 1002b6118, 1002b6118) + 137c
    000000010001748c commonServiceWrapper (30, 0, 558, 1, 100140428, ffffffff6fa08560) + cac
    000000010001d1a4 I_AccountFind (100188220, 12336c, 2e60, 100186b80, ffffffff7fffa440, ffffffff6fa08560) + ec
    ffffffff7f25ea34 _tmsvcdsp (100186b80, 0, 1001f7b60, 800, 100186b80, 1400) + 11ac
    ffffffff7f28241c _tmrunserver (2bb4, 0, 100186b80, 10017c480, 10017d5a0, 0) + 11ac
    ffffffff7f25d47c _tmstartserver (1, 2c00, 100144c90, 800, 10017ebe0, 1001444e0) + 1ac
    0000000100014e4c main (1b, ffffffff7fffab18, ffffffff7fffabf8, ffffffff6e84b8e0, ffffffff75b05200, ffffffff75f00200) + 14
    0000000100014d9c _start (0, 0, 0, 0, 0, 0) + 17c
    Can you please help what is causing problem in the applications. Thanks in advanced.

    This forum is about C programming in general, and about using Oracle Studio C in particular.
    Your question seems to be about a database application that now crashes when run on an updated version of Oracle database.
    You mention "Proc" and ProC". If you are referring to the Pro*C compiler, that would also be a database question, since the Pro*C compiler is not related to Oracle Studio or Oracle Studio C.
    You are more likely to find a helpful answer in a database programming forum. Start here:
    https://forums.oracle.com/forums/category.jspa?categoryID=18

  • Error occurs when running autoconfig on application tier

    When running autoconfig on application tier, error occurs:
    Starting AutoConfig at Sun Jul 3 08:06:11 2011
    Using adconfig.pl version 115.78
         Classpath : /u01/prodapps/prodcomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/rt.jar:/u01/prodapps/prodcomn/util/java/1.4/j2sdk1.4.2_04/lib/dt.jar:/u01/prodapps/prodcomn/util/java/1.4/j2sdk1.4.2_04/lib/tools.jar:/u01/prodapps/prodcomn/java/appsborg2.zip:/u01/prodapps/prodcomn/java
    ===========================================================================
    Starting Utility to Report Version Conflicts at Sun Jul 03 08:06:14 PDT 2011
    Using VersionConflictListGenerator.java version 115.2
    All driver files processed.
    No version conflict encountered.
    ===========================================================================
    ERROR: Context Value Management Failed.
    Terminate.
    I referred to Note 461258.1: Autoconfig Error On Apps Tier: Context Value Management Failed (Doc ID 461258.1), and there's no such directory: $JAVA_TOP/oracle/sql/
    Please HELP!
    Thanks,
    Jackie

    Please see these docs.
    Adconfig.sh Fails With Error AC-30202 Unrecognized Action Apecified On Oracle EBS 11.5.10.2 [ID 1240795.1]
    How To Synchronize The Context file Stored In Database (FND_OAM_CONTEXT_FILES table) With The Context File In the File System?. Run Autoconfig Failed With "ERROR: Context Value Management Failed" [ID 463895.1]
    Autoconfig execution fails on Class StoreDataOfFile.getChkListConditions() [ID 1269146.1]
    Thanks,
    Hussein

  • Invoke Method: Run VI produces error when run as an application

    Hello,
    I have upgraded from LabView 7.0 to 2009. One test program uses Run VI Invoke Method to start the main UI. On LabView 7.0 it works OK , when build as an application, but with LabView 2009 it gives error 1003: Invoke Node xxx.vi <APPEND> VI Path: xxx. (I have checked that the path to "Open VI Reference" is correct.)
    When run on LabView 2009 development environment (.vi) - no problem. I used the "Convert built script.." tool to convert to LabView 2009 built specifications. I have tried numerous different variations building application with LabView 2009 (including main UI files, different setups, etc.), but no luck. If someone has any ideas...
    -timo

    Maybe it helps you for debugging:
    I checked the property for the broken arrow. You need a property node and go Select Class 'Vi Server'->'VI' (skip this in your Application but navigate to the VI via the server and feed it to the node). Then it is Execution->State.
    I need to draw some code to do it for me as well, once I'm done I'll post it here.
    Felix
    www.aescusoft.de
    My latest community nugget on producer/consumer design
    My current blog: A journey through uml

  • Newbie Q: Setting scripts to run on Start Application

    Please help!
    CS3 says you just check the Enable Events to Run Scripts/Actions checkbox and choose Photoshop Event: Stat Application to run your script on startup but for me it's like Photoshop has had it's memory wiped if I close it and reopen it!
    The Script Event Manager looks like it does when you've only just installed Photoshop.
    How do I get PS CS3 to remember my choices so it runs my setupWorkspace script when it opens?
    It's my first ever PS script, design to compensate for the fact that even though PS shows that my saved workspace is the current one on restart up it is in fact the default workspace until I reselect it from the Workspace menu.
    I'm on a MacBook Pro and my scripts are in a folder, which I created and chose in PS using Browse to path, called Users/myName/Library/Application Support/Adobe/Adobe Photoshop CS3/Presets/Scripts
    Would love to get in to scripting but if I can't even get scripts to run I'll be v sad.

    Here is how to attach a script to an event:
    http://ps-scripts.com/bb/viewtopic.php?t=58
    Larry

  • How to capture user ID within Calc script, when running?

    Client wants to capture run information automatically (user ID - who ran selected calc script ), and save that information in application itself to see who ran it last time, without checking related logs.
    User IDs have been enumerated already so if we can pick user ID text, we can set them as number value in Essbase. Expectation is to generate CDF to see related user ID and refer property file to get related number, to save in one of account. Its only possible if we can get in same session when run CDF and check who runs it.
    Any possible way to identify user ID from calc script in Essbase?
    Edited by: 962124 on Oct 15, 2012 9:30 AM

    Could you please mark the responses as helpful or answer so others can benefit from your time?
    Kyle Goodfriend
    http://www.in2hyperion.com
    Please make sure to assign helpful/answered to responses if applicable - it rewards those who help and benefits the user community.

  • Crystal report run from ASP code significantly slower than when run in CRS

    We have CRS XI R2.  I developed a report that contains several on-demand sub-reports.  The report and sub-reports are very fast when run directly from CRS.  However, when I run from ASP (users run a link from the intranet), it takes 4 times longer (1 second on CRS, vs. 5-10 seconds on intranet).  The report takes longer, bringing up a sub-report takes longer and paging through sub-reports take longer.  What can be done to improve the speed of the report that is using the ASP code?  I used a sample program provided at this support site to develop the report and it is pretty basic code.  The only time I have a problem is when I have many sub-reports.  Since they are on-demand, I do not know why this would matter.

    This has been created as an incident with SAP support.  Things that you will want to check is making sure that you handle the postback to the code as you do not need to run your entire code on every postback.  This will help performance after the original load. 
    One other thing is to compare performance with the viewer within Infoview that uses the same backend server as your application, ie PSReportFactory uses the page server, so you'll want to test with the DHTML viewer.  RAS code (reportclientdocument) uses the Report Application Server so you will want to test with the Advanced DHTML viewer.

  • Sqlora11.dll not found when running Pro*C application on 11g server

    Hello,
    Here is my environment:
    Workstation: Windows XP (32bit) with Oracle Client 11g 32bit
    Server: Windows 2003 server 64bit with Oracle 11g 64bit
    I have a Pro*C program that I have been able to pre-compiled, compiled and linked on my workstation using Mingw/gcc compiler and standard include files (sdtio.h...) from MS Visual C++ 2005 Express Edition.
    Precompilation: E:\app\oracle\product\11.1.0\client_1\BIN\proc.exe iname=Fill_Translated.pc oname=Fill_Translated.c userid=xxx/yyy@my11gDB code=ansi_c parse=full mode=oracle dynamic=oracle lines=yes sqlcheck=semantics errors=yes sys_include="C:\Program Files\Microsoft Visual Studio 8\VC\include" include=("E:\app\oracle\product\11.1.0\client_1\precomp\public","E:\app\oracle\product\11.1.0\client_1\oci\include")
    Compilation: c:\mingw\bin\gcc.exe -c Fill_Translated.c -o Fill_Translated.o -Wall -I E:\app\oracle\product\11.1.0\client_1\precomp\public -I E:\app\oracle\product\11.1.0\client_1\oci\include
    Link: c:\mingw\bin\gcc.exe -o Fill_Translated.exe Fill_Translated.o -L E:\app\oracle\product\11.1.0\client_1\precomp\LIB\ -lorasql11
    The result is an executable file that gets connected to an 11g database hosted on a w2003 64-bit server, opens a table with blob fields and expands the blob content into a target table (one blob source record generates thousands of target records). Everything works fine when running from my workstation.
    For some reasons, this executable file must run on the O11g server itself. So I copied and pasted the executable file on the server and tried to run it. I thought it would work...
    But I get the following error message in a popup window: This application has failed to start because orasql11.dll was not found. Re-installing the application may fix this problem.
    At this point, I do not know anymore what to do to solve this problem !
    Does it come from the fact that the complete build have been done on a Windows 32bit platform and the server is a 64-bit platform ?
    Do I have to install a O11g 64bit client on my server to make it work ?
    Do I have to rebuild everything from the server, meaning that I must install a kind of development environment on my server (Mingw/gcc and so on) ?
    Is there something to change in the registry of the server or in the path environment variable so that this dll is found ?
    Any others ideas ??
    Thank you for your answers.

    Actually, I do not have any O11g client installed on my Oracle server. But the DLL exists in my $ORACLE_HOME/lib on my server, more precisely in E:\app\dev_ora\product\11.1.0\db_1\BIN.
    As I built my executable file on a win32 platform with O11g client 32bit installed, I was wondering if the same executable file copied onto the server was not trying to find the relevant 32 bit library on my win64 platform, which of course does not exists as I have only a 64bit version of this library !! Would-it be the cause of the problem ?
    Does an O11g 32bit client installation on my Oracle 11g 64bit server would solve the problem ? Any inconvenient to have on the same server both an O11g 64bit server and an O11g 32bit client if it appears to be the solution ?

  • Error when running the struts application

    Hi
    i am getting this error when i run my struts application. Do i need to install the xerces parcer and should my local have the ANT. If so how should i confingure ANT
    /JSP/Login.jsp(12,0) Attribute name invalid for tag form according to TLD
    org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:236)
         org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1200)
         org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:821)
         org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1512)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2343)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2393)
         org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2399)
         org.apache.jasper.compiler.Node$Root.accept(Node.java:489)

    Ya I guess everything is right in both the files. Let me paste the contents :-
    WEB.XML
    <!DOCTYPE web-app PUBLIC
         "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
         "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <display-name>My Inventory</display-name>
    <!-- Standard Action Servlet Configuration -->
    <servlet>
    <servlet-name>action</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
    <init-param>
    <param-name>config</param-name>
    <param-value>/WEB-INF/struts-config.xml</param-value>
    </init-param>
    <load-on-startup>2</load-on-startup>
    </servlet>
    <!-- Standard Action Servlet Mapping -->
    <servlet-mapping>
    <servlet-name>action</servlet-name>
    <url-pattern>*.do</url-pattern>
    </servlet-mapping>
    <!-- The Usual Welcome File List -->
    <welcome-file-list>
    <welcome-file>Login.jsp</welcome-file>
    </welcome-file-list>
    <taglib>
    <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
    <taglib-location>/WEB-INF/struts-html.TLD</taglib-location>
    </taglib>
    </web-app>
    STRUTS-CONFIG.xml
    <!DOCTYPE struts-config PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 1.3//EN"
    "http://struts.apache.org/dtds/struts-config_1_3.dtd">
    <!--
    Default configuration file for examples application.
    Each module also has its own struts-config under: /WEB-INF/$MODULE/
    @version $Revision: 1.9 $ $Date: 2006-12-03 11:32:52 -0600 (Sun, 03 Dec 2006) $
    -->
    <struts-config>
    <form-beans>
    <form-bean name="Loginform" type = "com.myInventory.Loginform"></form-bean>
    </form-beans>
    <global-exceptions/>
    <global-forwards
    <!-- utilize a custom ActionForward as an example only -->
    </global-forwards>
    <action path="/Login" type="com.myInventory.actions.Loginaction" name="Loginform" input="/Login.jsp">
              <forward name="login_target_success" path="/success.jsp"/>
              <forward name="login_target_failure" path="/login.jsp"/>
              </action>
    </action-mappings>
    <message-resources parameter="MessageResources"/>
    </struts-config>

  • Error when running my adf application in Jdev 11

    Hi i develop one application that work fine in mi laptop and other computers, but yesterday i load it in one computer that throw me error when running:
    (oracle.jbo.JboException) JBO-29000: Unexpected exception caught: java.sql.SQLException, msg=ORA-01882: no se ha encontrado la región de la zona horaria
    Didn´t find Time Zone..
    I dont know what could be the problem in that computer.. some regedit configuration??

    Hi Shay!
    Already compare regional settings in both pc and are equals!..also try unistalling an reinstalling jdeveloper.. problem persist!

  • Error when running the  Webdynpro Application

    Hi All,
    I am getting the following error when testing  the WDA Application. Please let me know what can I do to resolve the error. I appreciate the help. Thanks
    The following error text was processed in the system DRD : Screen output without connection to user.
    The error occurred on the application server DOWNEA023_DRD_06 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    SYSTEM-EXIT of program SAPLSTRD
    Function: TRINT_POPUP_EDIT_CANCEL_SHOW of program SAPLSTRD
    Form: RAISE_ERROR of program SAPLSTRD
    Function: TRINT_OBJECTS_CHECK_AND_INSERT of program SAPLSTRD
    Function: TR_OBJECTS_CHECK of program SAPLSTRD
    Function: RH_HRPOBJECT_CORR_AT_SAVE of program SAPLRHWM
    Form: UPDATE_PLOG of program SAPLRHAP
    Function: RH_UPDATE_DATABASE of program SAPLRHAP
    Form: UPDATE_DATABASE of program MP100100
    Form: LEAVE_ACTUAL_DYNPRO of program MP100100
    Thanks

    I have the same problem.
    I'm trying to open up excel (Bex Analyzer) using the following code:
      call function 'RSAH_LAUNCH_EXCEL'
        exporting
          i_genuniid                 = '4AW30ILXE3NN5MQTO3SW0GUY0'
         i_workbookid               =
          i_hide_sapgui              = 'X'
        importing
          e_log_handle               = l_log_handle
        exceptions
          excel_wrong_version        = 1
          excel_viewer_not_installed = 2
          bexanalyzer_not_installed  = 3
          others                     = 4.

  • XP slows down when running on battery

    Hi, I've just bought a brand new macbook and upgraded it with 1GB of RAM. However, after I installed bootcamp and loaded xp, I found out that the macbook begins to lag when I unplug the magsafe. Is this normal?
    This issue is most noticeable when I play audio on the macbook. Whenever I open any audio file and repeatedly press the apple (windows) key next to the space par, the audio jitters pauses every half a second. This isn't limited to that, it lags whenever I open a new window or folder. It only does that when running off battery power.
    I'm a new mac user and I was wondering if any of you had the same problems. I know my parents' PC laptops don't have the same problem when they unplug their power. Please respond, or at least let me know if I'm the only one with this issue.
    Macbook   Mac OS X (10.4.7)  
      Mac OS X (10.4.7)  
      Windows XP Pro  

    Finally someone raised the question I asked numerous times and couldn't get anyone to try it out on their macbooks.
    Yes - Windows XP will lagg when on battery power only. I've noticed it few weeks ago. Strangely - OSX won't lagg when on battery power.
    I got one answer on my previous post that made a lot of sense - The person told me that it's probably just a glitch in the BOOTCAMP beta - since its only a trial version for now - until its fully upgraded with Leopard.
    It makes a sence now that I'm not the only one with the problem. Its probably BOOTCAMP.
    I guess we will have to wait for Leopard with the upgraded, fully supported version of BOOTCAMP.
    Glad to hear that I'm not the only one - I can be sure now that its not a faulty battery or logic board.
    For now use the magsafe when on Windows side - until you get leopard or until new version of Bootcamp is released.
    Here's the link to my original post http://discussions.apple.com/message.jspa?messageID=4445918#4445918

  • My mac has slow performance when running two or more applications, ran onyx and cleaned cache but my macbook is still running slow. Recommendations?

    I've had my MacBook White running on Mac OSx 10 for about 2 years. My sister has the same type of MacBook and she isn't having any slow performance. I really don't want to install RAM and that can't be the end all be all of solutions. Please help!!

    Kappy's Personal Suggestions for OS X Maintenance
    For disk repairs use Disk Utility.  For situations DU cannot handle the best third-party utilities are: Disk Warrior;  DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption; Disk Warrior 4.x is now Intel Mac compatible. TechTool Pro provides additional repair options including file repair and recovery, system diagnostics, and disk defragmentation.  TechTool Pro 4.5.1 or higher are Intel Mac compatible;  Drive Genius is similar to TechTool Pro in terms of the various repair services provided.  Versions 1.5.1 or later are Intel Mac compatible.
    OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.) If this isn't the case, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep.  Dependence upon third-party utilities to run the periodic maintenance scripts had been significantly reduced in Tiger and Leopard.  These utilities have limited or no functionality with Snow Leopard and should not be installed.
    OS X automatically defragments files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive. As for virus protection there are few if any such animals affecting OS X. You can protect the computer easily using the freeware Open Source virus protection software ClamXAV. Personally I would avoid most commercial anti-virus software because of their potential for causing problems.
    I would also recommend downloading the shareware utility TinkerTool System that you can use for periodic maintenance such as removing old logfiles and archives, clearing caches, etc.  Other utilities are also available such as Onyx, Leopard Cache Cleaner, CockTail, and Xupport, for example.
    For emergency repairs install the freeware utility Applejack.  If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the commandline.  Note that AppleJack 1.5 is required for Leopard. AppleJack 1.6 is compatible with Snow Leopard.
    When you install any new system software or updates be sure to repair the hard drive and permissions beforehand. I also recommend booting into safe mode before doing system software updates.
    Get an external Firewire drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
    Backuplist
    Carbon Copy Cloner
    Data Backup
    Deja Vu
    iBackup
    JaBack
    Silver Keeper
    MimMac
    Retrospect
    Super Flexible File Synchronizer
    SuperDuper!
    Synchronize Pro! X
    SyncTwoFolders
    Synk Pro
    Synk Standard
    Tri-Backup
    Visit The XLab FAQs and read the FAQs on maintenance, optimization, virus protection, and backup and restore.
    Additional suggestions will be found in Mac Maintenance Quick Assist.
    Referenced software can be found at CNet Downloads or MacUpdate.

Maybe you are looking for

  • Why does my iPad only charge from my Macbook?

    I have the origional ipad (it does what I need so I don't see the point in upgrading) it has worked fine since I got it. However recently a bizzare bug has appeared, it will only charge when plugged into my 2012 macbook pro but when I plug it into th

  • ABAP QUERY Report : column number change

    Hi friends, I need to modify the existing ABAP QUERY REPORT. I have added a new field in the selection screen. When I execute the query, it(our new filed) is displaying at the end of the columns. But I want it to be at 8th columns. please help me. Wh

  • ES SP2 Installation

    Hi, I want to install ES SP2 in my ECC 6.0. But the installable at marketplace given in the following thread is not working. How to use web service in ECC 6.0 Can anybody suggest an alternate location for this installable. If somebody has downloaded

  • Safari crashes when I quit the program

    This has been happening for a while now and drives me crazy! Everytime I close 1 browser window the whole program crashes. It also generates a crash report everytime I quit the whole program. I have attached the last report. Thanks Date/Time: 2006-09

  • Change Admin Acct - Home Folder Short Name

    Hi Folks, I'm a new MAC user and I accidentally "fat-fingered" the short name of the administrator's home folder during initial configuration of my machine. I think I remember seeing that the short name of the adminstrator's home folder can't be chan