How can i make my application startup faster?

Anyone can help me?
I'm making a GUI application for my customers, this application must be run in many old machines, which install win98,128M memory.
The first time application start cost 15sec(5 sec before start to load class),My customer say "can't stand for it ", because they use VC version beforetime. :-(
The second time start, it cost 6.5sec(1sec before start to load class), My customer say "that's ok".
To improve, i make a monitor tool, which use swing lib and some of my own libs, the monitor startup with the win98, and runing as a service. Now the application's first start only cost 6.5sec, just like the second time start.
But new problem come: After i do many operation which cost many memory(start a msoffice word, many copy/paste, and close the word), my application start time cost 17 sec! 6 sec before load class!
What can i do now?
Thanks in advance,
luochangtao

(windows98 128M)
the first time:
total 15sec
5sec before inter my first class, and about 6sec for first swing window, the other is for load my resources.
the second time:
total 6sec
0sec before inter my first class, 2sec for first swing window. the other is for load my resources.
I think i have do enough for my app, but if the first time after system startup, or user do many operation's which cost many memory before second time start, it cost 15sec, and about 5sec form click the batchfile to inter my first class.
i think windows 's catch mechanism is important, but i don't know how to keep that catch.
is it possible?

Similar Messages

  • How can I make my Mac Mini faster?

    How can I make my Mac Mini faster?

    Make sure there's enough free space on the startup disk  ...
    Click your Apple menu icon () top left in your screen. From the drop down menu click About This Mac > More Info > Storage
    Make sure there's at least 15% free disk space.
    More tips here > Mac troubleshooting: What to do when your computer is too slow | Macworld

  • How can I make my adodc connect faster to my SQL Server? It's taking a minute (so long) before I can view thousand of record in my listview.

    How can I make my adodc connect faster to my SQL Server? It's taking a minute (so long) before I can view thousand of record in my listview. Please anyone help me.
    I'm using this code:
    Public Class McheckpaymentNew
    Private cn As New ADODB.Connection
    Private rs As New ADODB.Recordset
    Private Sub McheckpaymentNew_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    Try
    cn.ConnectionString = "DSN=database; UID=user; PWD=password"
    cn.Open()
    rs.CursorLocation = ADODB.CursorLocationEnum.adUseClient
    rs.CursorType = ADODB.CursorTypeEnum.adOpenStatic
    rs.LockType = ADODB.LockTypeEnum.adLockBatchOptimistic
    Catch ex As Exception
    MsgBox("Failed to Connect!, Please check your Network Connections, or Contact MIS Dept. for assistance.", vbCritical, "Error while Connecting to Database.."
    End
    End Try
    End Sub
    End Class

    How can I make my adodc connect faster to my SQL Server? It's taking a minute (so long) before I can view thousand of record in my listview. Please anyone help me.
    I'm using this code:
    Public Class McheckpaymentNew
    Private cn As New ADODB.Connection
    Private rs As New ADODB.Recordset
    Private Sub McheckpaymentNew_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    Try
    cn.ConnectionString = "DSN=database; UID=user; PWD=password"
    cn.Open()
    rs.CursorLocation = ADODB.CursorLocationEnum.adUseClient
    rs.CursorType = ADODB.CursorTypeEnum.adOpenStatic
    rs.LockType = ADODB.LockTypeEnum.adLockBatchOptimistic
    Catch ex As Exception
    MsgBox("Failed to Connect!, Please check your Network Connections, or Contact MIS Dept. for assistance.", vbCritical, "Error while Connecting to Database.."
    End
    End Try
    End Sub
    End Class

  • How can I make my application as webservice

    Hi All,
    I'd like to know ,how can I make my application as webservice which has built on strut framework.
    with regards
    Babu H

    I'm not quite sure what you mean by application, but you can not turn whole applications to webservices. What you can do easily is to turn your services, e.g. the public methods in your stateless session bean layer as web services. There is different ways to do this, but you might want to check out Axis (http://ws.apache.org/axis ), which is a OS tool for creating WS call stacks over existing objects.

  • How Can I make the following query faster

    Hi Guru
    I want your valuable suggestion to make the following query faster.I did not write all required columns list. I gave here all those columns where I have conditon like decode,case when,or subquery
    (SELECT CASE WHEN REPORTED_BY IS NULL THEN
              (SELECT INITCAP(EMP_NAME) FROM HR_EMP WHERE EMP_NO = M.EMP_NO_RADIO)
         ELSE (SELECT INITCAP(EMP_NAME) FROM HR_EMP WHERE EMP_NO = M.REPORTED_BY) END RADIOLOGIST_NAME,
         (SELECT TEAM_NAME FROM DC_TECHTEAMMST WHERE TEAM_NO = M.GROUP_NO) GROUP_NAME,
         CASE WHEN M.RESULT_ENTRY_LOCK_BY IS NOT NULL THEN 'R'
    WHEN M.REPORT_DONE = 'D' THEN 'D'
    WHEN M.REPORT_DONE = 'P' THEN 'P'
    WHEN M.REPORT_DONE = 'F' THEN 'F'
         WHEN NVL(M.IMG_CAPTURED,'X') NOT IN ('B','Y') OR M.QA_RESULT = 'F' THEN 'S'
    WHEN NVL(M.IMG_CAPTURED,'X') IN ('B','Y') AND NVL(M.QA_RESULT,'X') NOT IN ('B','P') THEN 'Q'
         wHEN NVL(M.IMG_CAPTURED,'X') IN ('B','Y') AND NVL(M.QA_RESULT,'X') IN ('B','P') THEN 'C'
    END STATUS,
         (SELECT DECODE(NVL(V.DELIVERY_STATUS,'N'),'E',3,'U',2,1)
              FROM FN_VOUCHERCHD V WHERE V.VOUCHER_NO = M.VOUCHER_NO AND V.ITEM_NO = M.TEST_NO) DELIVERY_STATUS,
         trunc((start_time-order_end)*24,0)||' hr'||':'||
         decode(length(trunc(to_char(MOD((M.start_time-M.order_end)*24,1)*60),0)),2,to_char(trunc(to_char(MOD((M.start_time-M.order_end)*24,1)*60),0))
              ,1,to_char('0'||trunc(to_char(MOD((M.start_time-M.order_end)*24,1)*60),0)))||' mi' duration_order_capture,
         DECODE(R.CONFIDENTIAL_PATIENT,'Y','*',NVL(R.NAME,R.name_lang_name||' '||R.name_lang_fname)) PAT_NAME,
         FNC_PATIENTAGE(R.REG_NO,'',R.CONFIDENTIAL_PATIENT) pat_age,
         DECODE(R.CONFIDENTIAL_PATIENT,'Y','*',R.PATIENT_SEX) PAT_SEX
    FROM DC_MODALITYAPPOINTMENT M,DC_TESTMST T,OP_REGISTRATION R
    WHERE M.ACCESSION_NO IS NOT NULL AND NVL(M.CANCEL_FLAG,'N') = 'N'
    AND (NVL(T.SP_GEN,'S') = 'S' OR NVL(M.DOC_REQ_GEN,'N') = 'Y')
    AND M.TEST_NO IS NOT NULL AND M.TEST_NO = T.TEST_NO AND M.REG_NO = R.REG_NO)
    How can I make the above query faster.
    Query condition or indexing whatever is preferable please guide me.
    The approximate data of tables
    DC_MODALITYAPPOINTMENT 2,000,000
    A lot of updating is going on some columns of this table.all columns are not in the select list, Insertion is happend in batch process by back-end trigger of another table.
    Primary key based one column,
    OP_REGISTRATION 500,000
    Daily insertion on this table around 500 records,updation is not much.
    Primary key based one column 'reg_no'
    DC_TESTMST
    Total records of this table not more than 1500.This is setup table. Insertion and updation is not much on this table also
    I have to create a view based on this query .
    and I have to create another view to serve another purpose.
    In the 2nd view I need this query as well as I need another query by using union all operator based on a table(dc_oldresult)
    which have 1,600,000 records.There is no DML on this table
    SELECT      NVL((SELECT USER_DEFINE_TEST_NO FROM DC_TESTMST WHERE TEST_NO = SV_ID AND ROWNUM = 1 ),SV_ID) USER_D_EXAM_NO,
    (SELECT TEST_TYPE FROM DC_TESTMST WHERE TEST_NO = SV_ID AND ROWNUM = 1 ) EXAM_TYPE,
         NVL((SELECT TEST_NAME FROM DC_TESTMST WHERE TEST_NO = SV_ID AND ROWNUM = 1),'Exam Code: '||sv_id) EXAM_NAME,
         (SELECT PAT_NAME FROM OP_REGISTRATION WHERE REG_NO = HN) PATIENT_NAME,
         (SELECT PAT_AGE FROM OP_REGISTRATION WHERE REG_NO = HN) PATIENT_AGE,
         (SELECT PAT_SEX FROM OP_REGISTRATION WHERE REG_NO = HN) PATIENT_GENDER
    FROM DC_OLDRESULT
    WHERE HN IS NOT NULL AND SV_ID IS NOT NULL AND UPPER(ACTIVE) = 'TRUE'
    Should I make join DC_OLDRESULT, OP_REGISTRATION and DC_TESTMST? or The eixisting subquery is better?
    I use OP_REGISTRATION and DC_TESTMST in both query
    Thanks in advance
    Mokarem

    When your query takes too long ...

  • How can I make my phone run faster?

    anytime I have to download or upload or search the web it is very very slow .

    ray miranda wrote:
    I have my iMac purchased in 2008 and it is running very slow.  I have a time capsule.  I believe it only has 1 GB of SD Ram.  Will it run faster/better if I increase the Ram?
    YUP!
    How large is you HD and how much space do you have left?
    Care to share which OS you are using?
    How can I make my iMac run faster?

  • How can i make my iphone run faster

    How can I make my iphone 4 run faster?

    ray miranda wrote:
    I have my iMac purchased in 2008 and it is running very slow.  I have a time capsule.  I believe it only has 1 GB of SD Ram.  Will it run faster/better if I increase the Ram?
    YUP!
    How large is you HD and how much space do you have left?
    Care to share which OS you are using?
    How can I make my iMac run faster?

  • How can i make my phone die faster if the screen is black

    how can i make my phone die faster if the screen is black?

    There are some misconceptions that open apps consume battery power.  This is generally incorrect.  Read: http://speirs.org/blog/2012/1/2/misconceptions-about-ios-multitasking.html

  • How can I make iPad 1 operate faster

    How can I make my iPad 1 run faster

    As the result of months of web surfing and testing, I could narrow down the issue at is causing performance on all our original iPads! One would say to turn all the iCloud features off, but I have found that there are major performance bugs in contacts and calendars! Turn them off in the iCloud part if the settings. This, alone with disabling spotlight search results in no keyboard lag and no "checkerboard effect" in safari whe pages won't load fast enough! I hope this helps everyone as it did to me!

  • How can i make my printer respond faster to the print comand?

    I have an hp officejet 6500A.   It is very slow in responding to the print command.  How can I make it take less time then 30 seconds to a minute to respond?

    OK, restart your router.   Actually if your adsl2z is a bridge, what is the router?
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • How can I make my iPod Touch faster?

    My iPod Touch 4g is very slow.. I want to make it faster,how can i do it?I have iOS 6.1.5 and non-jailbreak.

    Periodically double click the home button and close all the apps in the recently used dock. Then power off and then back on the iPod. This frees up memory. The 4G only has 256 MB of memory.
    Next
    - Reset the iOS device. Nothing will be lost       
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup. See:                                                
    iOS: How to back up                                                                                     
      - Restore to factory settings/new iOS device.            

  • How can I make my application visible on the net?

    Hi Everyone,
    Here is a silly question. I created a nice application on my notebook pc where I installed HTML DB. It is running Windows XP. The server is the HTTP server that came with the companion disk.
    Can you tell me what I need to do to make the application visible to people on the internet?
    Thanks.
    Emad.

    change your call from println to print.
    check the API docs for this stuff, it tells you everything you need to know.
    Good Luck
    Lee

  • How can i make my macbook run faster again?

    Hey, i own 15 inch macbook pro 2011 that came with snow leopard and i upgraded it to lion but i observed that my computer got slower speacially when i start up i wait much more longer than i used to.I don't have many programs downloaded i mean only 130 gb is used out 500 so, is there anything i can do to make my mac run faster? In addition i am thinking about to make participation with win7 does it affect the speed of my computer negative? Thank you.

    If you have only 4GBs of RAM, this article may help you - https://discussions.apple.com/thread/3238726
    You may need to upgrade the RAM or make changes to the apps you use..  Since your Hard Drive is nicely underutilized and is probably behaving well, that should not be the problem.
    Check to see if you are getting Page Outs and read the article above

  • Bought an ipad3 and I have no credit card..how can I make an application without credit card?

    I bought an ipad3 here in the Phil's and don't have credit card...how can I create an account without using credit card?

    How to Get Apps From the App Store Without a Credit Card
    http://ipadhelp.com/ipad-help/how-to-get-free-apps-from-the-app-store-without-a- credit-card/
     Cheers, Tom

  • How can i make my imac run faster?

    I have an 8 year old iMac. I am running OS X.
    Hardware Overview:
      Model Name: iMac
      Model Identifier: iMac5,1
      Processor Name: Intel Core 2 Duo
      Processor Speed: 2.16 GHz
      Number Of Processors: 1
      Total Number Of Cores: 2
      L2 Cache: 4 MB
      Memory: 1 GB
      Bus Speed: 667 MHz
      Boot ROM Version: IM51.0090.B09
    I am a graphic designer so I need to run InDesign, Adobe Illustrator & Photoshop usually simultaneously. I also have Microsoft Office installed.
    It is now running very slow and is sluggish. I've not tried anything yet to solve my problem,
    Any tips what I can do to speed it up, would appreciate any helpl!

    I have an 8 year old iMac.
    IMHO, here is no magic bullet to make a very old computer run applications like the ones you describe fast.
    Compare the specs on your machine with a 27" iMac (current line):
    27-inch: 3.2GHz
    Specifications
    3.2GHz quad-core Intel Core i5
    Turbo Boost up to 3.6GHz
    8GB (two 4GB) memory
    1TB hard drive1
    NVIDIA GeForce GT 755M with 1GB video memory
    I don't spend other people's money, but if it were my money I would seriously consider a new computer.
    Barry
    Model Name: iMac
      Model Identifier: iM
      Processor Name: Int
      Processor Speed: 2
      Numbe
      L2 Cache: 4 MB
      Memory: 1 GB

Maybe you are looking for

  • How do I use multiple VPP accounts in a school system with 1 Profile manager server?

    I have 40 schools with their own money they want to spend on apps. I need these accounts to be seperate. We are registered in the Device enrollment program and are using Apple's profile manager to distribute VPP apps. In the DEP website you can add e

  • How to create hyperlink on column.

    Hi all, its very urgent. I have two pages first page like header level and secound page like lines level. in first page having requestid lov,find,create buttons and advance table region. secound page having only advance table region with add another

  • Help with .mov files that QuickTime Player says it can't read

    Help. I have .mov files (on an external hard drive) I can see that they are there, but every time I try to open any of them with QuickTime Player I get the error message "could not be opened. The movie is not in a format that QuickTime Player underst

  • OVMS - Local display cuts out after boot DMS 59 Video Card

    Hey All - We use OVM/OVS on what you might call 'desktop servers'. We have several setup. We recently purchased some more machines that I am installing OVS onto and will add them to the cluster. However, these machines only video connection is DMS 59

  • PLD one to one pick list to sales order

    I have bit of an unusual situation. Please bear this in mind before answering. Make the assumption the every pick list will only have the contents of one sales order. But...  I'm trying to get the BP address and cardcode onto the page header in PLD W