Results 1 to 3 of 3

Thread: performance optimization

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Sep 2000
    Location
    Jacksonville
    Posts
    23

    Smile

    Well this is the senerio..
    I have three applications working together.
    1) prints pdf files
    2) FTP transfer of files from one server to this server
    3) monitors if ADOBE is running (ie while printing process is going on sometimes Adobe displays a modal dialog if file is bad)In that case this application kills adobe
    All the applications are to run unattended and in endless loops
    The printing app consumes 99% CPU and for some reason and it terminates once in one - two days
    Please guide what would be a good way to handle the situation
    Is there a way to optimize the performance?
    Or if we could check that cpu usage is maximum then put rest of the applications to DoEvents.

  2. #2
    Fanatic Member
    Join Date
    Feb 2000
    Location
    The Netherlands
    Posts
    715
    Did you make the app that prints pdf files?
    Oetje
    [email protected]
    93606776
    Visual Basic 6, Windows 2000

    Never pet a burning dog

  3. #3
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    Place the loop code inside timer events, adjust by having smaller loops in the timers, or using Settimer api and to create more frequent events.
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width