garbage collection may not be able to close all things opened by HDF5 calls.
You can use H5Fget_obj_count( ) to check if there is any open object .

Mitchell, Scott - IS wrote:

I’m running an application as a Windows Service. At the end of a test, the datasets & file are closed. And since this is .NET, I’ve forced garbage collection to make sure all that stuff is freed. The service continues to run.

However when I try to modify, move, whatever the HDF5 files that I’ve just finished, Windows (Server 2008) won’t let me because it believes my service is still connected. I end up having to restart the service before they’re free.

Is there something else I need to do to get HDF to let go of them?

Scott


------------------------------------------------------------------------
This e-mail and any files transmitted with it may be proprietary and are intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the sender. Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of ITT Corporation. The recipient should check this e-mail and any attachments for the presence of viruses. ITT accepts no liability for any damage caused by any virus transmitted by this e-mail.
------------------------------------------------------------------------

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to