New notebook does not close immediately using the API

D

dyowee

Good day!
I'm trying to create a new notebook programmatically through the ON 2007
API. When I try to close the notebook (even if it was not edited by the
user), closing it programmatically takes at least 5 seconds. Why is this so?

Thanks.
 
J

John Guin [msft]

I would create a perf log to track what my application is doiong (although 5
seconds doesn't sound too bad, especially if you have added " a lot" of date
to the notebook before closing it. The data may take a few seconds to get
saved..). A good getting started point is
http://technet2.microsoft.com/windo...7d62-4f2a-80bb-c16e75994b1d1033.mspx?mfr=true

You could possibly get a feel for what's happening simply by expanding task
manager's performance tab and adding counters for memory usage, file I/O ops
and CPU usage. If the notebook is on a network share, network IO is
obviously something to consider, and latency may play a part.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top