Applet very slow and shows no activity, but its running

I have a new applet for the users, but I am reluctant to implement until I get some others opinions. It is very slow (30 - 40 seconds)
Before it outputs a screen with about 20 lines, it reads 90 different html files. It looks at the forth rec of each to extract a name. It also gets the file size to determine if the record needs to be on the screen.
Anyway, it does 4 reads on 90 files. = 360 reads. Oops, it also reads and loads a 80 record file at the beginning. So total is 440 reads.
It takes 30 - 40 seconds. Which is not horrible, but it is not good. What really bothers me is that the applet screen shows no activity. At the bottom is shows "done" and "100%". Task Manager shows no activity. But if you just let it sit there, it will finally fill the screen. Pretty amazing to me. I would much rather see a "progress bar" moving on the bottom like other screens. Actually, a progress bar would solve it, because the users are not in a big hurry anyway.
I am using "openStream" and "readLine" for the files.
Any opinions?
import javax.swing.*;
import java.applet.*;
import java.awt.*;
import java.awt.event.*;
import java.net.*;
import java.io.*;
import java.util.*;
public class urlaa extends JApplet
//zz  implements Runnable, ActionListener
      implements ActionListener
// zz added
    private JLabel item;
    private JList itemList;
  int par;
  int errorflag = 0 ;
  int orgsize = 14900 ;
  String par1;
  String s;
  String e1;
  String e2;
  String e3;
  String w1;
  String w2;
  String w3;
  String w4;
  int i = 0;
  int len ;
  int size ;
  String stringsize ;
  URLConnection conn ;
  int i2 = 0 ;
  int k = 0;
  int current = 0;
  String s1 ;
  String s6 ;
  String s7 ;
  String s8 ;
  String printline ;
  String pageLink;
  String arr[]  = new String[150] ;
  String arr2[] = new String[150] ;
  String arr3[] = new String[150] ;
  int arr4[] = new int[150] ;
  String inputLine;
  Thread runner;
  public void init()
         String parameter = getParameter("par1");
         if (parameter != null)
             par = Integer.parseInt(parameter);
         else
             par = 99;
// zz         Button goButton = new Button("Go");
// zz         goButton.addActionListener(this);
// zz         add(goButton);
// zz   added
        this.item = new JLabel();
        this.addButton();
        Container container = this.getContentPane();
        this.itemList = this.getList();
        container.add(this.getPanel());
        URL u;
        InputStream wis = null;
        DataInputStream dis;
        int rcnt = 0;
        int rcn2 = 0;
       //    1)  read filelist.txt file
       //         and load into a table.
       //    2)  close the filelist.txt file
       //    3)  Use the tabled file names to
       //         read and see if the bio
       //         has been done
       //  1) Read filelist.txt and load table
        try
        u = new URL("http://www.classof1961.mysite.com/filelist.txt");
        catch (MalformedURLException e)
          errorflag = 1 ;  // set error flag to stop while loops
          e1 = ("FILELIST.TXT MalformedURLException: " + e.getMessage()) ;
        try
            u = new URL("http://www.classof1961.mysite.com/filelist.txt");
            wis = u.openStream();
        catch (IOException ioe)
          errorflag = 1 ;  // set error flag to stop while loops
          e1 = ("FILELIST.TXT IOException : " + ioe.getMessage()) ;
//      does not work     size = wis.getContentLength() ;
            // Convert the inputStream to a buffered DatainputStream.
            dis = new DataInputStream(new BufferedInputStream(wis));
            // Read 1st record to set up while loop
               try
                 s1 = dis.readLine() ;  // get 1st rcd
               catch (IOException ioe)
                 errorflag = 1 ;  // set error flag to stop while loops
                 e3 = ("FILELIST.TXT IOException : " + ioe.getMessage()) ;
               while (s1 !=  null)
               {  // load file names loop
               if (errorflag == 0)
               {  // if errors
                arr[i] = s1 ;
                i++ ;
                try
                s1 = dis.readLine() ;
                catch (IOException ioe)
                  errorflag = 1 ;  // set error flag to stop while loops
                  s1 = null ; // force end of loop
                  e3 = ("load table read failed" + ioe) ;
                rcnt++ ;
                if (rcnt > 100)  // test code
                {                // test code
                  errorflag = 1;
                  s1 = null ;
                  e3 = "Load table is looping!!" ;
               }  // end of error check loop
               }  // end of table load loop
           int lasttableentry = i ;  //
               // CLOSE the filelist.txt file
               try
                wis.close();
               catch (IOException ioe)
                errorflag = 1 ;  // set error flag to stop while loops
                e3 = ("close of filelist.txt file failed" + ioe) ;
//   End of filelist read and load and close
//      ptr to whats new names in table arr
        i = 0 ;
//      While more names in table,
//        Connect and Open file
//        Read file until 4th rcd (rel 3rd rcd)
//          if rcd has date, then move it to table
//          else
//          bump to next file name
          w1 = arr[i] ;
          w2 = w1.substring(1, 4) ;   // ONLY USED FOR CHK FOR XXXX
//    ______________  start of major loop  _____________
        boolean morenames = true ;
        while (morenames)
        {  // Name table loop
        if (errorflag == 0)
        {  //if no errors
          try
            u = new URL(w1);
            try
              URLConnection conn ;
              conn = u.openConnection();
              size = conn.getContentLength();
            catch (IOException e)
              errorflag = 4 ;
              morenames = false ;
              e1 = ("file size logic failed " + w1) ;
          catch (MalformedURLException e)
                errorflag = 1 ;  // set error flag to stop while loops
                morenames = false ;
                e1 = ("next whats new url error : " + w1) ;
// compile error                break ;
          try
              u   = new URL(w1) ;
              wis = u.openStream();
          catch (IOException e)
            errorflag = 1 ;  // set error flag to stop while loops
            morenames = false ;
            e2 = ("next whats new open error :  " + w1) ;
//   compile error            break ;
//            Convert the inputStream to a buffered DatainputStream.
              dis = new DataInputStream(new BufferedInputStream(wis));
            if (errorflag == 0)
            {  //if no errors
                   try
//  does not work                       String s2 = dis.readLine(3) ;
                     s1 = dis.readLine() ;
                     s1 = dis.readLine() ;
                     s1 = dis.readLine() ;
                     s1 = dis.readLine() ;
                   catch (IOException e)
                     errorflag = 1 ;  // set error flag to stop while loops
                     morenames = false ;
                     e2 = "whats new file MalformedURLException: " ;
                   // file is larger than original non-bio file size
                   if (size > orgsize)  //  if file size > original file size
                   String s2a = s1.substring(0, 5);
                   String s3 = "                       " ;
//                 Only look at title records to get the name
                   if (s2a.equals("<titl"))
                      int k2 = 7 ;
                      int l = k2 + 1 ;
                        while (!s1.substring(k2, l).equals("<"))
                          k2++ ;
                          l++ ;
                      s3 = s1.substring(7, k2) ;
                   else
                      s3 = "               " ;
//                 s3 now has blanks or the name
                   arr2[k] = w1 ;    // move name into arr2 (link to bio)
                   arr3[k] = s3 ;    // move name into arr3 (bio name)
                   arr4[k] = size ;  // move in file size
                   k++ ;
                   } // end of if length > 36
            } // end of chk for error flag zero (no errors)
              //  now we have to close this whats new file
               // CLOSE the current whats new file
               try
                wis.close();
               catch (IOException ioe)
                errorflag = 1 ;  // set error flag to stop while loops
                morenames = false ;
                e3 = ("close of the current whats new file failed" + ioe) ;
              //  end of the close
          rcn2++ ;
          if (rcn2 > 100)  // test code
          {                // test code
             errorflag = 2;
             morenames = false ;
             e3 = "Searching files is looping!!" ;
          i++ ;           // bump to next whats up name
          w1 = arr[i] ;   // load it into work string
          if (i > lasttableentry)
            morenames = false ;
          } // end of error checking loop
         else
              morenames = false ;
        } // end major name table loop
               // CLOSE the last whats new file
               try
                wis.close();
               catch (IOException ioe)
                errorflag = 1 ;  // set error flag to stop while loops
                e3 = ("close of last whats new file failed" + ioe) ;
// end of init
//     _________________ other methods  ______________________
// zz added
    private JList getList() {
        // Create a List
        JList tempList = new JList(arr3);
        tempList.setVisibleRowCount(3);
        // Enable single selection
        tempList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
        return tempList;
    private JButton addButton() {
        JButton button = new JButton("Select Item below and click here to go to the bio");
        button.addActionListener(this);
        return button;
    private JPanel getPanel() {
        // set layout to GridLayout 3 rows and 1 columns, no separations
        JPanel panel = new JPanel(new GridLayout(3,1,0,0));
        JScrollPane spane1 = new JScrollPane(this.itemList);
        panel.add(this.addButton());
        panel.add(spane1);
        panel.add(this.item);
//       panel.add(new JLabel("Example List"));
        return panel;
//   _______________  actionPerformed method  ____________________
     public void actionPerformed(ActionEvent evt)
       s8 = "actionPerformed";
// zz added
        String command = evt.getActionCommand();
        // Get the selected value from the list and update the JLabel
        item.setText((String)itemList.getSelectedValue());
//  try to redirect to selected url
  try
         int idx  = itemList.getSelectedIndex() ;
         String urlvalue = this.arr2[idx] ;
         URL u = new URL(urlvalue);
         this.getAppletContext().showDocument(u, "_self");
     catch(Exception e)
}

jagossage wrote:
But if you just let it sit there, it will finally fill the screen. Pretty amazing to me. The onus is on you, the developer, to decide how to distract your users as they wait for your code to finish. Why should you expect something to do it for you?
I would much rather see a "progress bar" moving on the bottom like other screens.Ah, I think I see where you're confused. The progress bar and applet loading subtitles, etc are Java's way of presenting the progress of loading the applet. Once it's fully loaded, though (which it is when your code starts running), it hands off control to you. It's in your hands at that point.

Similar Messages

  • Internet connection very slow and cannot download IOS 5as its takes 6 hours and then apple has timed me out .  Can any one help?

    Internet connection very very slow and it takes 6 hours to download IOS 5 which by that time I am timed out .  Can anyone help

    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
    iOS: Resolving update and restore alert messages
    http://support.apple.com/kb/TS1275
    iPad: Unable to update or restore
    http://support.apple.com/kb/ht4097
     Cheers, Tom

  • I have Soundtrack Pro 1.1 It opens OK but the everything takes 4 seconds to work. It's very slow and unusable. Is this a well known problem?

    I have Soundtrack Pro 1.1 It opens OK but the everything takes 4 or so seconds to work. It's very slow and unusable in its present state. Is this a well known problem?

    STP 3.0.1 was the version designed to work with OSX 10.6.8. Anything earlier than that and issues may arrise. Hard to tell what yours are.
    You may want to run Digital Rebellion's Preference Manager to reset the prefs back to the default state. If nothing else, it is a good troubleshooting step.
    Good luck.
    x

  • When starting Thunderbird to retreive my emails it is very slow and eventually no emails show up. Help

    I use Thunderbird to retrieve my emails. When I click on the site at the bottom left hand corner it indicates how many emails are waiting to upload on my page. AVG AntiVirus scans the emails. It starts out very slow and the green bar comes across the bottom right hand corner very slowly. I may get one or two emails but then it just stops and the rest of the emails don't upload on my site. My husband has the same issue as he uses Thunderbird also. Any help will be greatly appreciated. Thank you.

    H Sean,
    Welcome to Apple discussion: )
    What if anything have you tried or have done to trouble shoot the problem.
    Look in your Console, found in the Applications/ Utilities folder for any
    clue, check the console.logs & system.logs, for any clues & paste them in a reply post. Look for items that access the net.
    Do you do any internet clutter cleaning, using a tool, such as OnyX make sure to get the correct version for 10.3.9 if you do download it.
    See Neils User's tip article , on Clearing caches with OnyX
    Do you do any Regular Maintenance/General Troubleshooting ?
    Go to Home~/Library/Caches/Safari cache folder, and Get info on the size of the Safari cache folder, if it is larger then 5 MB's I would trash the entire Safari cache folder.
    ~/Library/Safari folder/Icons folder, what is the size of that folder, if more say 2-3MBS, that could slow things down. These are the icons beside every
    bookmark & URL , when you trash this folder the Icons will all become default
    blue bubbles, the icons will recreate, unless you set the "You -can" Read & Write to Read only, in the "Ownership & Permissions" portion of the "Get info" window. Same is true for the Safari cache folder.
    System Preferences-> Accounts-> Start up items, the more items there the more CPU usage the more spinning you may experience, which items do
    you have there?
    Which version of iTunes are you running, & have you removed the extra files?
    Do you have and problems running Disk permissions repair?
    Please post back.
    Eme'~[)

  • Can you help me, i try to import video from my gopro to final cut pro but when i play the video he become very slow and i lose qualiter

    can you help me, i try to import video from my gopro to final cut pro but when i play the video he become very slow and i lose qualiter ???

    Right click one of yur clips in the event browser and choose Transcode Media. Make a test project and playthat clip. See whether that solves your lag.
    Russ

  • Here are my Etrecheck results....can anyone help me get my computer faster?  Problem description: Computer very slow-.and unresponsive  EtreCheck version: 2.1.8 (121) Report generated April 16, 2015 at 10:19:42 AM EDT

    Problem description:
    Computer very slow….and unresponsive
    EtreCheck version: 2.1.8 (121)
    Report generated April 16, 2015 at 10:19:42 AM EDT
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        MacBook Pro (15-inch, Mid 2012) (Technical Specifications)
        MacBook Pro - model: MacBookPro9,1
        1 2.3 GHz Intel Core i7 CPU: 4-core
        4 GB RAM Upgradeable
            BANK 0/DIMM0
                2 GB DDR3 1600 MHz ok
            BANK 1/DIMM0
                2 GB DDR3 1600 MHz ok
        Bluetooth: Good - Handoff/Airdrop2 supported
        Wireless:  en1: 802.11 a/b/g/n
        Battery Health: Normal - Cycle count 412
    Video Information: ℹ️
        Intel HD Graphics 4000
        NVIDIA GeForce GT 650M - VRAM: 512 MB
            Color LCD 1440 x 900
    System Software: ℹ️
        OS X 10.10.2 (14C1514) - Time since boot: 7 days 18:4:45
    Disk Information: ℹ️
        APPLE HDD HTS547550A9E384 disk0 : (500.11 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
            Macintosh HD (disk1) / : 498.88 GB (299.54 GB free)
                Core Storage: disk0s2 499.25 GB Online
        MATSHITADVD-R   UJ-8A8
    USB Information: ℹ️
        Western Digital My Passport 0748 500.07 GB
            EFI (disk3s1) <not mounted> : 210 MB
            My Passport (disk3s2) /Volumes/My Passport : 499.73 GB (126.16 GB free)
        Apple Inc. FaceTime HD Camera (Built-in)
        Apple Inc. BRCM20702 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Inc. Apple Internal Keyboard / Trackpad
        Apple Computer, Inc. IR Receiver
    Thunderbolt Information: ℹ️
        Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /System/Library/Extensions
        [not loaded]    com.quark.driver.Tether (1.1.0d4 - SDK 10.4) [Click for support]
        [loaded]    com.quark.driver.Tether64 (1.1.0d3 - SDK 10.6) [Click for support]
        [not loaded]    com.wdc.driver.1394HP (1.0.11 - SDK 10.4) [Click for support]
        [not loaded]    com.wdc.driver.1394_64HP (1.0.1 - SDK 10.6) [Click for support]
        [not loaded]    com.wdc.driver.USBHP (1.0.11) [Click for support]
        [loaded]    com.wdc.driver.USB_64HP (1.0.0 - SDK 10.6) [Click for support]
    Problem System Launch Agents: ℹ️
        [killed]    com.apple.CallHistoryPluginHelper.plist
        [killed]    com.apple.CallHistorySyncHelper.plist
        [killed]    com.apple.gamed.plist
        [killed]    com.apple.Maps.pushdaemon.plist
        [killed]    com.apple.printtool.agent.plist
        [killed]    com.apple.telephonyutilities.callservicesd.plist
        6 processes killed due to memory pressure
    Problem System Launch Daemons: ℹ️
        [killed]    com.apple.awdd.plist
        [killed]    com.apple.ctkd.plist
        [killed]    com.apple.emond.aslmanager.plist
        [killed]    com.apple.nehelper.plist
        [killed]    com.apple.wdhelper.plist
        [killed]    com.apple.xpc.smd.plist
        6 processes killed due to memory pressure
    Launch Agents: ℹ️
        [not loaded]    com.adobe.AAM.Updater-1.0.plist [Click for support]
        [loaded]    com.coupons.coupond.plist [Click for support]
        [running]    com.mcafee.menulet.plist [Click for support]
        [running]    com.mcafee.reporter.plist [Click for support]
        [running]    com.oracle.java.Java-Updater.plist [Click for support]
        [loaded]    org.macosforge.xquartz.startx.plist [Click for support]
    Launch Daemons: ℹ️
        [failed]    com.adobe.fpsaud.plist [Click for support]
        [loaded]    com.adobe.SwitchBoard.plist [Click for support]
        [loaded]    com.macpaw.CleanMyMac2.Agent.plist [Click for support]
        [unknown]    com.mcafee.ssm.ScanFactory.plist [Click for support]
        [unknown]    com.mcafee.ssm.ScanManager.plist [Click for support]
        [running]    com.mcafee.virusscan.fmpd.plist [Click for support]
        [loaded]    com.microsoft.office.licensing.helper.plist [Click for support]
        [loaded]    com.oracle.java.Helper-Tool.plist [Click for support]
        [loaded]    com.oracle.java.JavaUpdateHelper.plist [Click for support]
        [loaded]    org.macosforge.xquartz.privileged_startx.plist [Click for support]
    User Launch Agents: ℹ️
        [loaded]    com.adobe.AAM.Updater-1.0.plist [Click for support]
        [loaded]    com.facebook.videochat.[redacted].plist [Click for support]
        [failed]    com.facebook.videochat.[redacted].plist [Click for support]
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [loaded]    com.macpaw.CleanMyMac2Helper.diskSpaceWatcher.plist [Click for support]
        [loaded]    com.macpaw.CleanMyMac2Helper.scheduledScan.plist [Click for support]
        [loaded]    com.macpaw.CleanMyMac2Helper.trashWatcher.plist [Click for support]
    User Login Items: ℹ️
        iTunesHelper    Application  (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
        WDSecurityHelper    UNKNOWN  (missing value)
        WDSecurityHelper    Application  (/Applications/WD Security.app/Contents/WDSecurityHelper.app)
        WDDriveUtilityHelper    UNKNOWN  (missing value)
        WDDriveUtilityHelper    Application  (/Applications/WD Drive Utilities.app/Contents/WDDriveUtilityHelper.app)
    Internet Plug-ins: ℹ️
        SiteAdvisor: Version: 2.0 - SDK 10.1 [Click for support]
        FlashPlayer-10.6: Version: 17.0.0.169 - SDK 10.6 [Click for support]
        QuickTime Plugin: Version: 7.7.3
        Flash Player: Version: 17.0.0.169 - SDK 10.6 [Click for support]
        CouponPrinter-FireFox_v2: Version: 5.0.3 - SDK 10.6 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        SharePointBrowserPlugin: Version: 14.4.8 - SDK 10.6 [Click for support]
        Silverlight: Version: 5.1.30514.0 - SDK 10.6 [Click for support]
        JavaAppletPlugin: Version: Java 8 Update 31 Check version
    User internet Plug-ins: ℹ️
        Google Earth Web Plug-in: Version: 7.1 [Click for support]
        Stamps.com: Version: 1.1.13 [Click for support]
        DISH Anywhere Player: Version: 2.7.2.0 [Click for support]
    Safari Extensions: ℹ️
        SiteAdvisor
    3rd Party Preference Panes: ℹ️
        Flash Player  [Click for support]
        Java  [Click for support]
    Time Machine: ℹ️
        Skip System Files: NO
        Mobile backups: ON
        Auto backup: YES
        Volumes being backed up:
            Macintosh HD: Disk size: 498.88 GB Disk used: 199.33 GB
        Destinations:
            My Passport [Local]
            Total size: 499.73 GB
            Total number of backups: 29
            Oldest backup: 2013-05-17 22:06:43 +0000
            Last backup: 2015-03-27 16:16:56 +0000
            Size of backup disk: Too small
                Backup size 499.73 GB < (Disk used 199.33 GB X 3)
    Top Processes by CPU: ℹ️
             6%    backupd
             5%    WindowServer
             1%    Google Chrome
             1%    loginwindow
             1%    mtmd
    Top Processes by Memory: ℹ️
        289 MB    Google Chrome Helper
        189 MB    Google Chrome
        84 MB    backupd
        78 MB    Mail
        77 MB    Finder
    Virtual Memory Information: ℹ️
        17 MB    Free RAM
        1.22 GB    Active RAM
        1.22 GB    Inactive RAM
        996 MB    Wired RAM
        54.55 GB    Page-ins
        1.93 GB    Page-outs
    Diagnostics Information: ℹ️
        Apr 14, 2015, 03:11:54 PM    /Library/Logs/DiagnosticReports/softwareupdated_2015-04-14-151154_[redacted].cp u_resource.diag [Click for details]

    When you see a beachball cursor or the slowness is especially bad, note the exact time: hour, minute, second.  
    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    Each message in the log begins with the date and time when it was entered. Scroll back to the time you noted above.
    Select the messages entered from then until the end of the episode, or until they start to repeat, whichever comes first.
    Copy the messages to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    The log contains a vast amount of information, almost all of it useless for solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name, may appear in the log. Anonymize before posting.
    When you post the log extract, you might see an error message on the web page: "You have included content in your post that is not permitted," or "The message contains invalid characters." That's a bug in the forum software. Please post the text on Pastebin, then post a link here to the page you created.

  • My MacBook pro is running very slow and unresponsive.

    My MacBook pro is running very slow and unresponsive. I have mid 2010 model running on lion. Past few days it looks very unresponsive. Tried to reinstall lion as clean copy. Still no luck. Any help on this is much appreciated !
    My model has 4 gb ram.

    Things That Can Keep Your Computer From Slowing Down
    If your computer seems to be running slower here are some things you can do:
    Boot into Safe Mode then repair your hard drive and permissions:
    Repair the Hard Drive and Permissions Pre-Lion
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    Repair the Hard Drive - Lion
    Boot from your Lion Recovery HD. When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported, then click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu. Select Restart from the Apple menu.
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Restart your computer normally and see if this has helped any. Next do some maintenance:
    Suggestions for OS X Maintenance
    For situations Disk Utility cannot handle the best third-party utility is 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.
    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 was significantly reduced since Tiger.  These utilities have limited or no functionality with Snow Leopard or Lion 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. For more about malware see Macintosh Virus Guide.
    I would also recommend downloading a utility such as TinkerTool System, OnyX 2.4.3, or Cocktail 5.1.1 that you can use for periodic maintenance such as removing old log files and archives, clearing caches, etc.
    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 command line.  Note that AppleJack 1.5 is required for Leopard. AppleJack 1.6 is compatible with Snow Leopard. There is no confirmation that this version also works with Lion.
    When you install any new system software or updates be sure to repair the hard drive and permissions beforehand.
    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):
    Carbon Copy Cloner
    Data Backup
    Deja Vu
    SuperDuper!
    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.
    Additional Hints
    Be sure you have an adequate amount of RAM installed for the number of applications you run concurrently. Be sure you leave a minimum of 10% of the hard drive's capacity as free space.
    Add more RAM. If your computer has less than 2 GBs of RAM and you are using OS X Leopard or later, then you can do with more RAM. Snow Leopard and Lion work much better with 4 GBs of RAM than their system minimums. The more concurrent applications you tend to use the more RAM you should have.
    Always maintain at least 15 GBs or 10% of your hard drive's capacity as free space, whichever is greater. OS X is frequently accessing your hard drive, so providing adequate free space will keep things from slowing down.
    Check for applications that may be hogging the CPU:
    Open Activity Monitor in the Utilities folder.  Select All Processes from the Processes dropdown menu.  Click twice on the CPU% column header to display in descending order.  If you find a process using a large amount of CPU time, then select the process and click on the Quit icon in the toolbar.  Click on the Force Quit button to kill the process.  See if that helps.  Be sure to note the name of the runaway process so you can track down the cause of the problem.
    Often this problem occurs because of a corrupted cache or preferences file or an attempt to write to a corrupted log file.

  • Indesign image display is very slow and jerky

    good morning
    I contacted Adobe Customer Service in Italy because I have big problems with the Creative Suite CS 5.5, in particular with Indesign and in general with the display of images of AI and Acrobat.
    As I work with Indesign image display is very slow and jerky. Even with AI and Acrobat work experience is not good, the images are jerky and there are hesitations in the fluidity of view.
    The software is installed on windows 7 64bit Utlimate, the workstation is very powerful: Supermicro motherboard, dual Xeon E5620 2.4ghz, 16gb ram, SSD OCZ vertex4, PNY Nvidia Quadro 4000.
    The customer service has sent me several tips for email, I have followed all the instructions but I did not get results. In conclusion, when I pointed out that reading on the forums I was not the only one who showed this problem and after discussing about my hardware configuration, they told me that the problem is probably due to the fact that I have two Xeon processors!
    In efects had observed that CS 5.5 on my notebook works better, but I never thought about having problems because the PC is powerful. I checked the CPU and GPU when using Indesign and I could see that uses a single CPU, and most "only 1 core"! But of CPUs in the system there are two for a total of 8 cores. Indesign seems to use only 1/8 of the available computing power ... In addition, practically does not use the GPU (only 10-15%).
    From the customer service was suggested to disable or remove a processor from the system. All this seems to me incredible. I use the workstation for applications that can take advantage of the power of the machine, should I remove the processor whenever I have to use CS 5.5? If things are this way I'm thinking of asking if Adobe buy me a PC with a single processor only for use with CS 5.5 ...
    Thank you.

    Interesting idea, I'll investigate in this direction, I should try to make a mirror of the ssd on a traditional hard drive, exchange them and see if the situation changes. It must, however, be a further factor in the eventual bad combination hardware ... on my laptop I have: windows 7 x64, intel core i7 processor, 16gb of ram, nvidia quadro 3000m, and .... a ssd ocz agility 3, but indesign is more responsive.
    But why indesign should be influenced by the hard-drive? With 16gb of ram and working files on NAS because in design interacts with the hard drive?

  • Purchased my computer just before new ones came out in Oct. It runs slow and shows Gray screen sometimes when I open it. Anyone else having this problem?

    I have a new but 2010 model. It operates very slow and has gray screen occassionaly. One store said it's "safe sleep", the other graphic board. Is anyone else having this problem with computer only 4 mos. old?

    Your problems may be caused by software or hardware, including the gray screen and the slowness.  The intermittent gray screen is a puzzler and probably is hardware.   TUSL2C’s diagnosis may be right on the money.  A question is how to isolate it to HW or SW that so you can get good service? 
    The obvious cheap and easy fix is to replace that cable but I don’t think you can do that  because it is under warranty.  There are other ways to isolate the problem that won’t void the warranty.
    If the disk turns out to be healthy and it continues to boot to a gray screen then that will be a sign that internal hardware, other than the disk, is to blame.  Since they are blaming it on software we will be able to test it with a pristine OS X installation that has no 3rd-party software to blame.
    > They are calling it "Safe Sleep Mode" and that happens if I don't use the machine within 4 hours.
    The machine should go to sleep and wake up almost instantly every time without a gray screen.  If you can demonstrate the problem reliably by putting it to sleep and waking it up then that will be most useful.  We will show it failing on pristine OS X software without 3rd-party mods to prove it is an Apple problem.  Similarly if you can reliably show the gray screen from a power-on boot that will help.
    My first question is do you have a current Time Machine (or other) backup?  If not you should create one before we get to steps that could stress the disk.  If it is a faulty cable or a faulty disk then the system could stop functioning at any time.  It is always prudent to maintain a current backup and especially important when the system is sick.  If you do not have a Time Machine (or other) backup then post back for instructions on how to create one.
    In the mean time please download and run Etrecheck and post back the results.
    http://www.etresoft.com/etrecheck
    This will indicate possible software compatibles and other details that may be helpful in a diagnosis.
    Also run disk diagnostics with Disk Utility.  This will check if the disk and filesystem are healthy.
    From the Finder, pull down on the Go menu to Utilities.  This will open the Applications > Utilities folder.
    Then run Disk Utility.
    Click on the upper left disk icon.
    Does the S.M.A.R.T. status say “Verified”.
              If not the disk/SSD is unhealthy and needs to be replaced.
    Click on the icon indented below, usually called “Macintosh HD”.
    Verify Disk.
    If it finishes with a green “OK” message then all is well with the disk.
    If it shows errors in red then you may have found a problem.
    Click on Repair Disk Permissions.
    It will give lots of messages in black and white, which are OK.
    If it gives any messages in red then there is an issue to address.
    It will be useful to have some test that shows the slow speed that uses standard OS X applications such as Pages, Numbers, Presenter, iTunes, iMovie... or even just the Finder opening windows or starting applications.  We can then use that test when isolating the source of the slowness.
    How many seconds does it take to boot from power-on to either the login screen or the Finder is up?  Please time that.  It is a good speed test.  If it is over a minute then something is wrong.
    One way to isolate the issues will be to sandbox it using another disk to test what happens with different software on different hardware disks in different locations.  That will not void the warranty.
    But before going there or proceeding further let’s look at the Etrecheck and Disk Utility results, ensure the system is backed up, and then try some other standard tests.

  • HT1338 Is there a Mac System Clean-up? My computer is running very slow and freeze all the times

    I don't know why my computer is running very slow and keeps freezing all the times.  It would take at least 2-3 min to load up after the not using it for 5 min.  For instance when I type my paper or doing anything on the computer and leave for a fews min after come back it would not start and the icon keeps on spinning.
    Thanks

    Pretty much all "clean-up" utilities will just make things worse.
    You need to determine what it is that is causing the problem.
    How much RAM do you have?
    For the following, report what you get when the system is running slow and beachballing.
    Open Activity Monitor (Utilities folder) and click on System Memory tab at the bottom of the screen. What does it say for Page Outs?
    Also, at the top of the window, select All Processes. Click on the %CPU header until the arrow points down. Anything pop up at the top of the list that is using a very high percentage of CPU?
    What you describe can be caused by incompatible third-party software. Boot into Safe mode and see if the problems still exist. Safe mode will be a little slower than normal, but you shouldn't see the system freeze up.
    http://support.apple.com/kb/ht1455

  • My macbook pro is running very slow and very very hot

    hi everyone I have a 13 inch mid 2012 MacBook pro,
    it is running very very slow and extremely hot, I downloaded a program called smc fan control and it is reading the internal temperature of my computer as 80 degrees Celsius. I was looking on the forums and saw that I should run an apple hardware test. which I have done and it is coming up with Error 4/MOT/4/40000002: EXHAUST-2003
    what does this mean? is it something to do with my fan?
    also there is a very strange clicking noise when I lift the mac up or if its on its side and sometimes it just randomly freezes,  the computer does not respond and then it restarts.
    what do I do?
    please help!

    " the fan didn't seem congested with dust, at least not enough to cause any malfunction."
    The lint and crap builds up in the heat exchanger radiator. It's the grilled thing at the output of the fan.
    https://www.ifixit.com/Guide/MacBook+Pro+13-Inch+Unibody+Mid+2012+Fan+Replacemen t/10367
    Look at step 6. It's that grilled thing at the top of the fan. If you remove the fan that radiator is probably clogged with lint. Brush it all away and if possible blow out the fan with compressed air. Make sure the fan turns freely and doesn't feel stiff.
    http://s291.photobucket.com/user/spudnuty/media/13%20inch%20MacBook%20Core%202%2 05-2007%20dirty%20rainstrm/MacBookHeatsinkinlet.jpg.html?filters[user]=68196367& filters[recent]=1&sort=1&o=21
    This isn't a MBP radiator but the problem will look like this.

  • My Adobe Muse website wont publish, it's running slow and showing a server error

    I've had a website in adobe muse that I've published many times before with no errors. After publishing, It tries to upload the site and loads it very slow and stops at about 69% and says the server is not connected, even though I have internet, checked the firewall and updated the cache in explorer. I was able to upload another website that I have on Muse, it loaded slowly also, stopped at 97%, I resumed it and it loaded.  What to do next?

    The site is hosted through business catalyst: northstarconservancy.org. I've had no issues with this website in three years and have been able to edit and publish with no problems. It shows a server error and says to check my network connection. I noticed that adobe was working on their server the night before I had this issue, so I will probably have to call the tech support and see whats up with it, since it seems related. Thanks, Amanda

  • I am having a problem with my cs6 running very slow and when i save i am getting an error message that says, "This document is bigger than 2 gb (the file may not be read correctly by some TIFF viewers.) please help

    I am having a problem with my cs6 running very slow and when i save i am getting an error message that says, "This document is bigger than 2 gb (the file may not be read correctly by some TIFF viewers.) please help

    wen6275,
    It looks like you're actually using a camera or phone to take a photo of your monitor.
    That's not what is commonly known as a "screen shot". 
    It looks like you're on a Mac.  Hitting Command+Shift+3 places a capture of the contents of your entire monitor on your Desktop; hitting Command+Shift+4 will give you a cross-hairs cursor for you to select just the portion you want to capture.
    I'm mentioning this because I fear I'm not construing your original post correctly when you type "I am working with a large files [sic], currently it has 149 layers, all of which are high resolution photographs", so I'm wondering if there's some similar use of your own idiosyncratic nomenclature in your description of your troublesome file.
    Perhaps I'm just having a major senior moment myself, but I'm utterly unable to imagine such a file.  Would you mind elaborating?

  • I tries to backed up and storage on iCloud but its just shows down below "Estimating time remaining" but theres no time remaining !!! And i connect to the Wifi already and i buy a storage capacity !!! But its not backing so what should i do in that case !

    I tries to backed up and storage on iCloud but its just shows down below "Estimating time remaining" but theres no time remaining !!! And i connect to the Wifi already and i buy a storage capacity !!! But its not backing so what should i do in that case !!!?    

    Welcome to the Apple Community.
    First check that your device is correctly connected to the wifi/internet (settings > wifi)
    If your back up continually fails, you might try turning off back up on your mobile device (settings > iCloud > storage & backup) and then deleting the backup file from iCloud by swiping the backup file on the mobile device (settings > iCloud > storage & backup > manage…) and then turning back up on again.
    If this doesn't help, try turning off some items for back up in a pattern to try to establish if your problem is being caused by specific data on your device.
    Being able to back up to the cloud can be very useful, especially if you don't have access to a computer or have infrequent access to one, however unless you specifically need to use iCloud for back up, you will find backing up to iTunes significantly more convenient and possibly more reliable.

  • Since loading Lion, I've experienced much more instability than Snow Leopard. In particular, Mail crashes with regularity, full-screen apps seem to run slower and show the beach ball more often for longer, etc.  I'm disappointed with the performance. Any

    Since loading Lion, I've experienced much more instability than Snow Leopard. In particular, Mail crashes with regularity, full-screen apps seem to run slower and show the beach ball more often for longer, etc. I love the features, but I'm disappointed with the performance. Any help coming from Apple?  I've been sending them so many reports after crashes, that their file must be full!

    Summoning max. courage, I did what you advised. Here is the result. What does this tell you? My Lion 7.2 (mid 2011 iMac) has several annoying glitches (which I have so far tolerated through gritted teeth) but none that have actually stopped me working.
    BTW, I see several items involving CleanMyMac which I did not know I had. It is generally villified as a trouble-maker. Spotlight can't find an app. or a utility of that name. How can I get rid of what's there please? Just delete?
    Last login: Thu Nov  3 20:55:11 on console
    Steve-Kirkbys-iMac:~ stevekirkby$ kextstat -kl | awk ' !/apple/ { print $6 $7 } '
    com.AmbrosiaSW.AudioSupport(4.0)
    Steve-Kirkbys-iMac:~ stevekirkby$ sudo launchctl list | sed 1d | awk ' !/0x|apple|com\.vix|edu\.|org\./ { print $3 } '
    Password:
    com.openssh.sshd
    com.stclairsoft.DefaultFolderXAgent
    com.microsoft.office.licensing.helper
    com.bombich.ccc.scheduledtask.067493DB-2728-4DF3-87D8-092EF69086E8
    com.bombich.ccc
    com.adobe.SwitchBoard
    Steve-Kirkbys-iMac:~ stevekirkby$ launchctl list | sed 1d | awk ' !/0x|apple|edu\.|org\./ { print $3 } '
    com.sony.PMBPortable.AutoRun
    uk.co.markallan.clamxav.freshclam
    com.veoh.webplayer.startup
    com.macpaw.CleanMyMac.volumeWatcher
    com.macpaw.CleanMyMac.trashSizeWatcher
    com.adobe.ARM.202f4087f2bbde52e3ac2df389f53a4f123223c9cc56a8fd83a6f7ae
    com.adobe.AAM.Scheduler-1.0
    Steve-Kirkbys-iMac:~ stevekirkby$ ls -1A {,/}Library/{Ad,Compon,Ex,Fram,In,La,Mail/Bu,P*P,Priv,Qu,Scripti,Sta}* 2> /dev/null
    /Library/Components:
    /Library/Extensions:
    /Library/Frameworks:
    AEProfiling.framework
    AERegistration.framework
    ApplicationEnhancer.framework
    AudioMixEngine.framework
    FxPlug.framework
    NyxAudioAnalysis.framework
    PluginManager.framework
    ProFX.framework
    ProMetadataSupport.framework
    TSLicense.framework
    iLifeFaceRecognition.framework
    iLifeKit.framework
    iLifePageLayout.framework
    iLifeSQLAccess.framework
    iLifeSlideshow.framework
    /Library/Input Methods:
    /Library/Internet Plug-Ins:
    AdobePDFViewer.plugin
    EPPEX Plugin.plugin
    Flash Player.plugin
    Flip4Mac WMV Plugin.plugin
    JavaAppletPlugin.plugin
    Quartz Composer.webplugin
    QuickTime Plugin.plugin
    SharePointBrowserPlugin.plugin
    SharePointWebKitPlugin.webplugin
    Silverlight.plugin
    flashplayer.xpt
    iPhotoPhotocast.plugin
    nsIQTScriptablePlugin.xpt
    /Library/LaunchAgents:
    com.adobe.AAM.Updater-1.0.plist
    com.sony.PMBPortable.AutoRun.plist
    /Library/LaunchDaemons:
    com.adobe.SwitchBoard.plist
    com.apple.remotepairtool.plist
    com.bombich.ccc.plist
    com.bombich.ccc.scheduledtask.067493DB-2728-4DF3-87D8-092EF69086E8.plist
    com.microsoft.office.licensing.helper.plist
    com.stclairsoft.DefaultFolderXAgent.plist
    /Library/PreferencePanes:
    .DS_Store
    Application Enhancer.prefPane
    Default Folder X.prefPane
    DejaVu.prefPane
    Flash Player.prefPane
    Flip4Mac WMV.prefPane
    /Library/PrivilegedHelperTools:
    com.bombich.ccc
    com.microsoft.office.licensing.helper
    com.stclairsoft.DefaultFolderXAgent
    /Library/QuickLook:
    iWork.qlgenerator
    /Library/QuickTime:
    AppleIntermediateCodec.component
    AppleMPEG2Codec.component
    DesktopVideoOut.component
    DivX 6 Decoder.component
    FCP Uncompressed 422.component
    Flip4Mac WMV Advanced.component
    Flip4Mac WMV Export.component
    Flip4Mac WMV Import.component
    LiveType.component
    /Library/ScriptingAdditions:
    .DS_Store
    Adobe Unit Types.osax
    Default Folder X Addition.osax
    /Library/StartupItems:
    Library/Address Book Plug-Ins:
    Library/Frameworks:
    EWSMac.framework
    Library/Input Methods:
    .localized
    Library/Internet Plug-Ins:
    Library/LaunchAgents:
    com.adobe.AAM.Updater-1.0.plist
    com.adobe.ARM.202f4087f2bbde52e3ac2df389f53a4f123223c9cc56a8fd83a6f7ae.plist
    com.macpaw.CleanMyMac.trashSizeWatcher.plist
    com.macpaw.CleanMyMac.volumeWatcher.plist
    com.veoh.webplayer.startup.plist
    uk.co.markallan.clamxav.freshclam.plist
    Library/PreferencePanes:
    .DS_Store
    Perian.prefPane
    WindowShade X.prefPane
    Library/QuickTime:
    AC3MovieImport.component
    Perian.component
    Library/ScriptingAdditions:
    Steve-Kirkbys-iMac:~ stevekirkby$

Maybe you are looking for

  • I can no longer import any of my photos

    Background: I have LR 3 Student edition.  I have an iMac running OS 10.7.4, I've been using LR for months with great success.  I have a Canon 60D. After I updated to 3.6, I can't import photos any longer.  The error message says that the photos canno

  • I need to send a group of files in a zip file. How do I do that?

    I have Microsoft Office for MAC and send to send a group of files.  I would like to compress them into a zip file.  Is there a way to do that with my MAC?

  • Trying to map java to %ROWTYPE

    Hello: I am calling stored procedure with JDBC and the procedure has an in parameter of type %ROWTYPE. What method do I call on OracleStoredProcedure to pass a value on to the procedure (setObject, setCursor, etc.)? I haven't had luck finding answers

  • Data Validation in IP before saving

    Dear All,               I need to do data validation in IP layout, before data gets saved into cube. For example, i have percentage key figures to plan, which should sum up to 100. if it is not, on clicking on save button, user should get proper erro

  • Adobe Muse - How to Build a Bilingual Website?

    I need to build a bilingual website for a client using Adobe Muse. Anyone know how to do it? I already built the English version. Now I need to build the Spanish version. I thought I could just make two Master pages - English and Spanish Master Pages