THE ONE WHO SOLVES THIS PROBLEM IS GREAT!

I'm serious. I am so fed up I am with this problem. Ground rules: you must NOT just give me code. I need to be able to know why my problem is happening, and how to fix it myself. I'm a grad student and am bound by a code of conduct. I don't have any more time to spend investigating this. It could be something simple or complex...I am at a loss.
Here is the situation: I'm developing this console java application on my Windows PC. When I run it on my pc, it runs in under a minute. However, when I transfer my program to the servers at my school (sun unix workstations) it takes a ridiculous amount of time to run the same program. I am told that 80% of the students in my class have their programs running in less than 5 minutes. Almost all of them didn't have to do any kind of optimizations. They just wrote it, and it worked. My program is averaging 10-15 min, but my prof runs it locally at school, and says it takes 40 min!
The entire program is posted below. Please forgive me for not commenting so great. They were better at first, but when I started moving things around and changing everything, I threw comments out the window. Still, the existing comments should be helpful in understanding what I'm doing. NOTE: Below the code is the DTD that all the .xml files I'm parsing conforms to. Here are a few links to .xml files that represent part of the dataset. The actual dataset consists of 40 files totaling 30MB.
http://www.geocities.com/c_t_r_11/items-1.xml
http://www.geocities.com/c_t_r_11/items-10.xml
http://www.geocities.com/c_t_r_11/items-20.xml
the dtd is at:
http://www.geocities.com/c_t_r_11/itemsdtd.txt
And here is the code:
/* Instructions:
This program processes all files passed on the command line (to parse
an entire diectory, type "java MyParser myFiles/*.xml" at the shell).
At the point noted below, an individual XML file has been parsed into a
DOM Document node. You should fill in code to process the node. Java's
interface for the Document Object Model (DOM) is in package
org.w3c.dom. The documentation is available online at
http://java.sun.com/j2se/1.4/docs/api/index.html
A tutorial of DOM can be found at:
http://java.sun.com/webservices/docs/ea2/tutorial/doc/JAXPDOM.html#67581
Some auxiliary methods have been written for you. You may find them
useful.
Modified by:
Will
import java.io.*;
import java.text.*;
import java.util.*;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.FactoryConfigurationError;
import javax.xml.parsers.ParserConfigurationException;
import org.w3c.dom.*;
import org.xml.sax.SAXException;
import org.xml.sax.SAXParseException;
import org.xml.sax.ErrorHandler;
class MyParser{
    static DocumentBuilder builder;
    static final String[] typeName = {
        "none",
        "Element",
        "Attr",
        "Text",
        "CDATA",
        "EntityRef",
        "Entity",
        "ProcInstr",
        "Comment",
        "Document",
        "DocType",
        "DocFragment",
        "Notation",
    static final String[] itemTags = {
        "Number_of_Bids",
        "Started",
        "Ends"
    static class MyErrorHandler implements ErrorHandler {
        public void warning(SAXParseException exception)
                throws SAXException {
            fatalError(exception);
        public void error(SAXParseException exception)
                throws SAXException {
            fatalError(exception);
        public void fatalError(SAXParseException exception)
                throws SAXException {
            exception.printStackTrace();
            System.out.println("There should be no errors " +
                    "in the supplied XML files.");
            System.exit(3);
    /* Non-recursive (NR) version of Node.getElementsByTagName(...) */
    static Element[] getElementsByTagNameNR(Element e, String tagName) {
        Vector elements = new Vector();
        Node child = e.getFirstChild();
        while (child != null) {
            if (child instanceof Element && child.getNodeName().equals(tagName))
                elements.add(child);
            child = child.getNextSibling();
        Element[] result = new Element[elements.size()];
        elements.copyInto(result);
        return result;
    /* Returns the first subelement of e matching the given tagName, or
    * null if one does not exist. */
    static Element getElementByTagNameNR(Element e, String tagName) {
        Node child = e.getFirstChild();
        while (child != null) {
            if (child instanceof Element && child.getNodeName().equals(tagName))
                return (Element) child;
            child = child.getNextSibling();
        return null;
    /* Returns the text associated with the given element (which must have
    * type #PCDATA) as child, or "" if it contains no text. */
    static String getElementText(Element e) {
        if (e.getChildNodes().getLength() == 1) {
            Text elementText = (Text) e.getFirstChild();
            return elementText.getNodeValue();
        else
            return "";
    /* Returns the text (#PCDATA) associated with the first subelement X
    * of e with the given tagName. If no such X exists or X contains no
    * text, "" is returned. */
    static String getElementTextByTagNameNR(Element e, String tagName) {
        Element elem = getElementByTagNameNR(e, tagName);
        if (elem != null)
            return getElementText(elem);
        else
            return "";
    /* Returns the amount (in XXXXX.xx format) denoted by a money-string
    * like $3,453.23. Returns the input if the input is an empty string. */
    static String strip(String money) {
        if (money.equals(""))
            return money;
        else {
            double am = 0.0;
            NumberFormat nf = NumberFormat.getCurrencyInstance(Locale.US);
            try { am = nf.parse(money).doubleValue(); }
            catch (ParseException e) {
                System.out.println("This method should work for all " +
                        "money values you find in our data.");
                System.exit(20);
            nf.setGroupingUsed(false);
            return nf.format(am).substring(1);
    /* Process one items-???.xml file. */
    static void processFile(File xmlFile) {
        Document doc = null;
        try {
            doc = builder.parse(xmlFile);
        catch (IOException e) {
            e.printStackTrace();
            System.exit(3);
        catch (SAXException e) {
            System.out.println("Parsing error on file " + xmlFile);
            System.out.println("  (not supposed to happen with supplied XML files)");
            e.printStackTrace();
            System.exit(3);
        /* At this point 'doc' contains a DOM representation of an 'Items' XML
        * file. Use doc.getDocumentElement() to get the root Element. */
        System.out.println("Successfully parsed - " + xmlFile);
        /*Open the output files for each relation****************************/
        PrintWriter itemsFile = null, usersFile = null,
                bidsFile = null, categoriesFile = null;
        /*Open files for writing each of the txt files******************/
        try{
            itemsFile = new PrintWriter(new BufferedOutputStream(new FileOutputStream("Items.dat", true)), true);
            usersFile = new PrintWriter(new BufferedOutputStream(new FileOutputStream("Users.dat", true)), true);
            bidsFile = new PrintWriter(new BufferedOutputStream(new FileOutputStream("Bids.dat", true)), true);
            categoriesFile = new PrintWriter(new BufferedOutputStream(new FileOutputStream("Categories.dat", true)), true);
        }catch(FileNotFoundException e){
            System.out.println("Error trying to open an output file: " + e.getMessage());
            System.exit(0);
        /*Parse content for each relation in turn********************/
        //Write to the Items.txt file
        NodeList itemNodes = doc.getDocumentElement().getElementsByTagName("Item");
        final String colSep = "|#|";
        String itemID = null;
        Element[] categories = null;
        NodeList bids = null;
        NodeList eBid = null;
        NodeList bidders = null;
        Element tempElement = null;
        Element itemElement = null;
        Element thisBid = null;
        String description = new String();
        for(int i=0; i<itemNodes.getLength(); i++){
            //Get the item Element for this iteration
            itemElement = (Element)itemNodes.item(i);
            /*Write out ItemID**************************************/
            itemID = itemElement.getAttribute("ItemID");
            itemsFile.print(itemID);
            itemsFile.print(colSep);
            /*Write out Name****************************************/
            itemsFile.print(getElementTextByTagNameNR(itemElement, "Name"));
            itemsFile.print(colSep);
            /*Write out the Currently element***********************/
            itemsFile.print(strip(getElementTextByTagNameNR(itemElement, "Currently")));
            itemsFile.print(colSep);
            /*Write out the Buy_Price element, if it exists*********/
            Element checkNode = null;
            if( (checkNode = getElementByTagNameNR(itemElement, "Buy_Price")) != null){
                itemsFile.print(strip(checkNode.getFirstChild().getNodeValue()));
            itemsFile.print(colSep);
            /*Add the First_Bid element*****************************/
            itemsFile.print(strip(getElementTextByTagNameNR(itemElement, "First_Bid")));
            itemsFile.print(colSep);
            /*Now iterate over the next three elements, adding them in turn*/
            for(int j=0; j<itemTags.length;j++){
                itemsFile.print(getElementTextByTagNameNR(itemElement, itemTags[j]));
                itemsFile.print(colSep);
            /*Add the SellerID**************************************/
            itemsFile.print(getElementByTagNameNR(itemElement, "Seller").getAttribute("UserID")
                    + colSep);
            /*Finally, add the description.  Truncate, if necessary*/
            description = getElementTextByTagNameNR(itemElement, "Description");
            itemsFile.print(description.substring(0, Math.min(4000, description.length())));
            itemsFile.print(colSep);
            itemsFile.println();
            /*Locate all of the Categories******************************/
            categories = getElementsByTagNameNR(itemElement, "Category");
            /*For every category in this item, write a ItemID-Category pair*/
            for(int j=0; j<categories.length; j++){
                categoriesFile.print(itemID + colSep);
                categoriesFile.print(categories[j].getFirstChild().getNodeValue());
                categoriesFile.println(colSep);
            if( (bids = itemElement.getElementsByTagName("Bid")) != null){
                /*Go through the bids, writing the info***********/
                for(int j=0; j<bids.getLength(); j++){
                    thisBid = (Element)bids.item(j);
                    bidsFile.print(getElementByTagNameNR(thisBid, "Bidder").getAttribute("UserID"));
                    bidsFile.print(colSep);
                    bidsFile.print(itemID);
                    bidsFile.print(colSep);
                    bidsFile.print(getElementTextByTagNameNR(thisBid, "Time"));
                    bidsFile.print(colSep);
                    bidsFile.print(strip(getElementTextByTagNameNR(thisBid, "Amount")));
                    bidsFile.println(colSep);
            /*write out userid and rating from any and all bidder nodes*/
            if( (bidders = itemElement.getElementsByTagName("Bidder")) != null){
                for(int j=0; j<bidders.getLength(); j++){
                    usersFile.print(bidders.item(j).getAttributes().getNamedItem("UserID").getNodeValue());
                    usersFile.print(colSep);
                    usersFile.print(bidders.item(j).getAttributes().getNamedItem("Rating").getNodeValue());
                    usersFile.print(colSep);
                    //If there's a location node, write it
                    if( getElementByTagNameNR((Element)bidders.item(j), "Location") != null){
                        usersFile.print(getElementTextByTagNameNR((Element)bidders.item(j), "Location"));
                    usersFile.print(colSep);
                    //If there's a country node, write it
                    if( getElementByTagNameNR((Element)bidders.item(j), "Country") != null){
                        usersFile.print(getElementTextByTagNameNR((Element)bidders.item(j), "Country"));
                    usersFile.println(colSep);
            /*Now write out the Seller information*******************/
            usersFile.print(getElementByTagNameNR(itemElement, "Seller").getAttribute("UserID"));
            usersFile.print(colSep);
            usersFile.print(getElementByTagNameNR(itemElement, "Seller").getAttribute("Rating"));
            usersFile.print(colSep);
            usersFile.print(getElementTextByTagNameNR(itemElement, "Location"));
            usersFile.print(colSep);
            usersFile.print(getElementTextByTagNameNR(itemElement, "Country"));
            usersFile.println(colSep);
        itemsFile.close();
        usersFile.close();
        bidsFile.close();
        categoriesFile.close();
    public static void main (String[] args) {
        if (args.length == 0) {
            System.out.println("Usage: java MyParser [file] [file] ...");
            System.exit(1);
/* Initialize parser. */
        try {
            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
            factory.setValidating(true);
            factory.setIgnoringElementContentWhitespace(true);
            builder = factory.newDocumentBuilder();
            builder.setErrorHandler(new MyErrorHandler());
        catch (FactoryConfigurationError e) {
            System.out.println("unable to get a document builder factory");
            System.exit(2);
        catch (ParserConfigurationException e) {
            System.out.println("parser was unable to be configured");
            System.exit(2);
/* Process all files listed on command line. */
        for (int i = 0; i < args.length; i++) {
            File currentFile = new File(args);
processFile(currentFile);
REMEMBER: Please do not just post the correct code. This will violate my code of conduct. I need tutoring--consultation.

If I was trying to get someone else to do my work,
I wouldn't be posting this saying what I have said
would I? I'm not unwilling to do the work myself.From what was stated in your OP, it seemed that you
were.I'm sorry if it seemed that way. I don't want something for nothing. I've spent MANY hours, which I don't have, trying to work this out. I have hit a point where I don't think my expertise is going to solve the problem. That's why I've turned to some experts who might say something along the lines of, "Hey, I know what that is...you're compiling against... and on the Unix box, it's compiling against..." I was NOT looking for something like, "See the code below that fixes your problem."
The only problem is that I don't have direct access
to the sun unix machines I'm running the app on,
so I can't run a profiler on it. Ah, okay. So the only knowledge you have of how it
performs on those machines is from your instructor
running it and then telling you how long it took?No. I can SSH into the servers and run the program from a command line. But I wouldn't be able to install any profiler programs.
You could ask your prof to run it with -Xprof or
-Xhprof or whatever. Or you could put in a bunch of
timing statements to get a rough idea of which parts
are making it take that extra 39 minute or whatever.is -Xprof a java command line option? If so, I will look into doing that. Maybe it's available on the machines at school. Thanks for that input.

Similar Messages

  • I GIVE 60 DUKEDOLLARS TO THE ONE WHO SOLVES THIS!

    For an app I am writing I need to get the name of the titles of the current programs running .
    I know that it can't be done in java, but if you do it in C++ or any other language you can do it and the use it in java with Native methods. Can someone please write a full working class that has a method that easily can be called by another java class and that returns an array with the names of the titlebars of the current running programs. They should be ordered to when they was opened so I don't want it in alphabetic order please.
    I give 60 duke dollars to the one who give me the full working code of such class.
    Please help me, I will be very happy to get this working!
    Best Regards
    Erik

    > I give 60 duke dollars to the one who give me the
    full working code of such class.
    Take a look at this: http://www.rentacoder.com/RentACoder/default.asp
    I don't know if they accept Duke Dollars, for they are worth nothing.

  • When i start the itunes the following message appears: is not possible start the program because msvcr80.ddl is in  fault in the computer. try reinstall the program to solve this problem.

    when i start the itunes the following message appears: is not possible start the program because msvcr80.ddl is in  fault in the computer. try reinstall the program to solve this problem.?????????????????????

    BOILERPLATE TEXT:
    Note that this is boilerplate text.
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    a screen shot of your settings or of the image could be very helpful too.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • After getting an update from 10.6.8 many of my programs were no longer able to open. How can I undo the update or solve this problem another way?

    After getting an update from 10.6.8 many of my programs were no longer able to open. How can I undo the update or solve this problem another way?

    Do you have a bootable clone from prior to the update? If so, roll back with that.
    Are your apps that won't open PPC and do they need Rosetta? Do you need to activate Rosetta?
    Have you considered reinstalling 10.6 from your install disc and then coming forward with the 10.6.8 Combo Updater, then doing software update and not including whatever it was you installed that caused this propblem?
    By the way - what update was it that caused this problem?

  • I rent a movie on iTune, dowloading on my ipad2, the movie stop reading from chapter 10, and an alert inform me when i try to Start the movie that i cannot read it. What is the issue for solve this problem?

    I rent a movie on iTunes stores, downloading it to my iPad2, but during the movie, the reading stop from capter 10 to End. I try to restart it, but an alert message inform me that i cannot read the movie. What is the issue for solve this problem? The movie is still located on apps movie, but i cannot read it. Please help.

    Having the same problem. Watched 25 minutes of a rental and it stopped with the message"unable to load video"
    Using current version IPad mini.
    Ios7 is  HUGH PIECE OF CRAP!!!!

  • Regards, since I upgrade to IOS 7 I can not open Itune Store from my Iphone 5. which is the way to solve this problem?

    Regards, since I upgrade to IOS 7 I can not open Itune Store from my Iphone 5.
    which is the way to solve this problem?

    You've tried logging out of your account by tapping on your id in Settings > iTunes & App Store and logging back in, and/or tried a soft-reset of the phone ?

  • I'm using firefox 4 en Gmail. When I choose my contacts there is no button for new contacts. In IE9 it is there. I've done everything what is on the net to solve this problem. But nothing works.

    I can't work in Gmail since I use firefox 4. The button "New Contacts" doesn't appear. I've tried everything to solve this problem: thrown away history, cookies and ad-ons. In firefox save modus it works. In IE9 it works. Only not in firefox4.
    In the former editions of firefox there were no problems.

    Extend wireless is simply no longer required as an option. Apple have assumed it will be extended and it is on by default.
    With your main base setup.. I gather you are using the A1408??
    Simply factory reset the TC..
    Then when you do the setup.. extend wireless is the option that will automatically be offered to you.
    I am just going to do it.. Other way around.. but it is the same thing.
    So here we go..
    I have factory reset the airport extreme.. and it takes a couple of min for it to come up.
    You can also see it in wifi.
    You can click on it in either place and get into the auto setup function.
    I have no network connection at all on the extreme.. it is simply powered on and close to the computer.
    It will automatically offer a name.. for reasons I won't go into here but see C9 http://pondini.org/TM/Troubleshooting.html
    Give the Extending router a name that is short, no spaces and pure alphanumeric.. you can do it immediately here.
    Go next..
    Magically it is done..
    Now fix up the errors..
    Default password.. in my home this is not an issue.. and I don't want to change it ..
    So I ignore it.
    Second error is firmware is old.
    But I much prefer 7.6.1 So I have no intention of giving that up..

  • Am I the only one who has this problem?

    So I have this problem where at a certain point in my sequence title effects that normally don't need to be rendered suddenly do for the rest of the sequence's duration. when I hold my cursor over the red bars above the timeline is says "RT still cache is full. you can allocate more memory in the system preferences...." but when I do ( change the allocation from 10% to more than that) it either does nothing or makes the problem worse. does anyone know how to get final cut to honor it's realtime abilities with longer sequences? (I'm working with hour+ sequences that are entirely subtitled...)
    Is this a result of a 3 gig RAM limit per app? I have 6.5 gigs of RAM. thanks!

    these are just straight-up final cut text files. I guess no one out there knows what's up with this "RT still cache" and why increasing it's [sic] size doesn't seem to increase the amount of stills final cut can "cache," but thanks for the pep talk on why things need to be rendered. that was really revealing.< </div>
    Can't tell if you've stepped down to sarcasm but it's allowed around here; heck, one of my favorite tools.
    Your titles are not stills. They are effects. The RT system will only hold so many effects. Shoot, even still images aren't stills for the still cache, they're video clips. Like the waveform cache, it holds only specific items.
    The still cache captures and stores your video clips' start and end frame icons, poster frames and such. Want to see the still cache in action? Try setting your timeline display to filmstrip mode. RT seems to have parameters we cannot adjust but you've also got to consider what's going on with your "simple text" elements. You have written a file that includes text parameters. The track must be created and the must be placed over your video track. There is alpha processing involved and FCP simply does not handle alphas well without proprietary hardware support. And it has to write the combined pixels so you can see them in the Canvas and on FW output.
    I'm pretty desperate.-desperate in denver <</div>
    We sympathize. But you're begging your system to deliver something it cannot and it works in a way that I believe you do not understand. You think rendering is weird now? You should have been around two to five years ago. Kids.
    bogiesan

  • My battery was at 11 hours per cycle. Now i only have 4 hours since i downloaded os x maverick am i the only one who has this problem or could it be a malware

    My battery was at 11 hours per cycle. Now i only have 4 hours since i downloaded os x maverick is this just my computer or could it be a malware.

    Actually coconut battery works perfectly fine for Mavericks, many pro-users on this board are using same with Mavericks, so, incorrect.
    I have done exhaustive testing on same on several diff. Macs with Mavericks
    SMC reset will show correct battery reading for a short while, however no, "time remaining" is NOT correct currently, and techs. are working on this occurrence.    Your experience with Mac has no bearing whatsoever on current time remaining indicator with Mavericks.
    Endless testing shows that accurate time remaining will present itself, for a short time, after a SMC reset, but this is often very short lived.
    The quickest methodology to FAULT this reading is to open a high task APP (photoshop, video feed, flash, etc.)
    See post on page 10 of this thread.
    *Further testing on 3 machines 2 days ago have shows that if a wake from sleep is induced, the "time remaining" on a 50-60% charge will show "20 hours remaining" on 2 diff. macbook Air 2013 13" I5 (very inaccurate of course)
    Battery APPS used were:
    1. Mavericks resident batt. indicator.
    2. coconut battery (coconut doesnt estimate time however but mAh)
    3. Battery time v 2 (mAh and % remaining, not time remaining)
    4. Battery APP "fruit juice"
    *For those receiving ACTUAL LESS battery life, other variables are in play
    Happily however, my ACTUAL TIME on a full charge on 2 diff. Air (mine and a borrow) has increased an average of 25%

  • The redemption code they sent me in an email does not work...it says it is not active and to contact the store i purchased it from? Adobe is the one who sent this to me and i cannot get in touch with anyone. Very frustrated

    Does anyone have any suggestions?

    Photomum2014 did you purchase a redemption code though http://www.adobe.com/?
    I would recommend reviewing Redemption Code Help.  If you continue to experience difficulties then please contact our support team at http://adobe.ly/1aYjbSC.

  • The app store gives me the error 13. how do you solve this problem?

    the app stocome solve this problem that prevents me from downloadingapplications?

    Post to the App Store forum.
    https://discussions.apple.com/community/mac_app_store

  • HT201210 i have a problem with my iphone 4s when i update the system its giving me error 36 ? and the phone docent want to open! any one please know who to solve this problem

    I cant open or upate my iphone 4s because its give me message erorr 36, please any one know what dose it mean erorr 36 and who i solve this problem.

    Hi mohamed00,
    Thanks for visiting Apple Support Communities.
    I recommend following the method below if you are not able to restore your iPhone and see an "error 36:"
    Resolve specific iTunes update and restore errors
    http://support.apple.com/kb/TS3694
    Check for hardware issues
    Try to restore your iOS device two more times while connected with a cable, computer, and network you know are good. Also, confirm your security software and settings are allowing communication between your device and update servers. If you still see the alert when you update or restore, contact Apple support.
    Common errors: 1, 10-47, 1002, 1011, 1012, 1014, 1000-1020.
    Cheers,
    Jeremy

  • I am one of many who were frustrated at the loss of visible keywords in Lion.  Will the new Mountain Lion solve this problem?

    I an one of many who were frustrated at the loss of visible keywords in iPhoto in Lion.  Will the new Mountain Lion solve this problem?

    I'm not sure whether we are quite talking about the same thing? 
    With iPhoto in OSX 10.4.11 all the keywords were visible in the iPhoto library.  When I moved my photos to a computer with Lion I lost this feature, there was a lot of discussion at the time about this being a backward step by Apple.  So I wondered whether the Mountain Lion version of iPhoto has restored this feature?

  • When i close firefox and want to use it later i get a warning saying cannot open firefox close it first this keeps happening all the time any ideas to solve this problem? i have 2 mchines one on xp and one on windows 7

    i have 2 pcs one with xp and the other with windows 7 heres the problem
    when i close firefox and say go back to it say in 10 mins i get a error message saying to close firefox before opening!!! but firefox window is closed but the processes still say its running in task manager so to correct this i have to end process on firefox. this seems to be happening now every time in the last few days i have upgraded firefox to the latest version. any ideas on how to solve this problem.

    see if this helps you : [https://support.mozilla.org/en-US/kb/Firefox%20is%20already%20running%20but%20is%20not%20responding Firefox is already running but is not responding]
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • Hello guys..!! I have got my new  iphone 4 2 days ago.The same day it got a problem of auto restart in every 1, to 2 minutes. I updated and restored it many times...but of no use... can any one help me how to solve this problem..!!

    Hello guys..!! I have got my new  iphone 4 2 days ago.The same day it got a problem of auto restart in every 1, to 2 minutes. I updated and restored it many times...but of no use... can any one help me how to solve this problem..!!

    Go to Settings/General/Reset - Erase all content and settings. the connecto to iTunes and restore as a New phone. Do not restore any backup. If the problem persists you have a hardware problem. Take it to Apple for exchange.
    This assumes that the phone is not hacked or jailbroken. If it is you will have to go elsewhere on the internet for help.

Maybe you are looking for

  • Text input from iphone

    ok the new apple tv is great, the only drawback i see is text input , that is if you really want to search vimeo and youtube or setup accounts.  will there ever be the option to use an ios device to input text?

  • Problems with Oracle 9iAS in Windows NT version spanish

    Hello: We want to know if anybody has successfully installed Oracle 9iAS in a Windows NT Server (service pack 6) version spanish (not english). We suspect that the the language of the NT machine (spanish) is the cause of the following error message w

  • Customer Age report

    Hi sap guru's In the customer age report, i have given specific parameters for profitcenter for ex. 1000 to 1010 but when i ran this report exists 1000 to 1010 proitcenter along with dummy profit center. If we give proper specification for the profit

  • Java for ECC 6.0

    Hi Gurus ,                Kindly give me the download link for java for ECC 6.0 which supported Windows 2003 serevr X64 Edition . Regards selvan

  • Lightroom 5.5 won't open after update

    I updated to Lightroom 5.5 using the Creative Cloud app, but the program will not open. I uninstalled and installed again, restarted, and logged on as a different user, but none of these things solved the problem.