[V4MD] Closing database blues

Ruslan Zasukhin sunshine at public.kherson.ua
Tue Feb 18 12:44:03 CST 2003


on 2/18/03 12:33 PM, Olaf Schmidtmann at os at brainbits.net wrote:

> Hi all,
> 
> when I close my app in Director 8.5 with Valentina 1.9.6 it takes from 3
> seconds up to 6 seconds(!) to close the app. This is a very long time for
> someone who wants to quit.
> 
> The time is spend on:
> 
> on vExitValentina ()
> gDB.inst = 0
> gDB.cursors = 0  
> ValentinaShutDown()
> end vExitValentina
> 
> Here´s the result (numbers are milliseconds).
> 
> * V4MD *: VDatabase_Destroy
> ...-- 3016
> * V4MD *: Cursor_Destroy...-- 1
> * V4MD *: ShutDownValetina...done
> -- 4
> 
> Is there any way to increase the speed for closing?

Hi Olaf,

Only cache can affect this.
Do you have huge cache ?

Make sure that you call Flush more often, then Close will not have work to
do.

---
Also look on your log.
Cursor is destroyed after database?
Something wrong here.

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://listserv.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list