shivaraj
2007-04-24 05:46:31 UTC
Hi,
I have written a C++ code using MAPI to get exchange server
mailbox / public folder information. This is running fine for me. But
during testing phase, I tried to run it nearly 5000 times to fetch
mailbox information. In which nearly 2000 times i was able to fetch
mailbox information but other 3000 times, my code failed during
"MAPIInitialize" and came out.
I am using "MAPIUninitialize" after each successfully
MAPIInitialize call. So my initialize and uninitialize are in proper
sync. Still no idea why its failing. and its not contineously failed
after some trials. For the first 200 trials, it contineoulsy passed.
After that this initialization used to fail for nearly 10-15 times and
for next 1-2 trials it will succeed. Any idea why this is so?
I dont see any big problems with memory as well. My java process
is taking little bit more memory than expected but its not increasing
contineoulsy. So please let me know your thoughts so that I can
resolve this problem
Regards,
Shivaraj
I have written a C++ code using MAPI to get exchange server
mailbox / public folder information. This is running fine for me. But
during testing phase, I tried to run it nearly 5000 times to fetch
mailbox information. In which nearly 2000 times i was able to fetch
mailbox information but other 3000 times, my code failed during
"MAPIInitialize" and came out.
I am using "MAPIUninitialize" after each successfully
MAPIInitialize call. So my initialize and uninitialize are in proper
sync. Still no idea why its failing. and its not contineously failed
after some trials. For the first 200 trials, it contineoulsy passed.
After that this initialization used to fail for nearly 10-15 times and
for next 1-2 trials it will succeed. Any idea why this is so?
I dont see any big problems with memory as well. My java process
is taking little bit more memory than expected but its not increasing
contineoulsy. So please let me know your thoughts so that I can
resolve this problem
Regards,
Shivaraj