Re: wierd standalone application behaviour



Vishal Mahulkar <vishal.mahulkar@xxxxxxxxx> writes:

I have created a stand alone application of my research. The
application starts up properly, initializes and starts executing but
after a few seconds, it starts slowing down and eventually stops. I
don;t see any errors. My application basically has a big while
loop. After few seconds, it takes a lot of time to complete one
iteration.


Any suggestions?

Yes. Speed up the loop. Reduce the memory usage. Preallocate your
arrays.

For any more detailed suggestions, you'll need to post a simplified
version of the code here.

--
Peter Boettcher <boettcher@xxxxxxxxxx>
MIT Lincoln Laboratory
MATLAB FAQ: http://www.mit.edu/~pwb/cssm/
.



Relevant Pages

  • Re: standalone application
    ... initializes and starts executing but ... it starts slowing down and eventually stops. ... iteration. ...
    (comp.soft-sys.matlab)
  • Re: im REALLY sorry...
    ... prevent the loop from executing ad infinitum? ... If nothing stops the loop, ...
    (comp.lang.php)
  • Re: Issue implementing Runtime.exec() with StreamGobbler
    ... So jloader basically calls LoaderAutomationRun.java (starts the loop) ... Executing generateLoaderFile, adding Transaction836.0.lrd ... Command Executer throws an exception prior to waitFor. ... NewcommandExecuter (not sure which one is causing the automation to ...
    (comp.lang.java.programmer)
  • Re: optimization levels for 6-STABLE build{kernel,world}
    ... of using that option is to change a loop from executing the test or ... Isn't the compiler intelligent enough to have a reasonable ... registers and not on the stack (cf "register windows" on the SPARC ...
    (freebsd-stable)
  • Re: Starting/Stopping a function with Button Control
    ... Now, your loop, having the dlg's hanlde, can send the message ... >>> action of some button controls... ... >> When your function is executing the program will ignore button clicks. ... >> concurrently with the main GUI thread. ...
    (microsoft.public.vc.mfc)

Loading