|
Rank: Newbie Groups: Member
Joined: 3/7/2016 Posts: 3
|
My question is related to this question http://www.essentialobjects.com/forum/postst7922_Disk-space.aspxWe are using HTML to PDF converter, and we have heavy eods files. As you wrote in our previous question, this files should be automatically deleted by the converter. Can you please explain exactly when the files should be deleted? we are done using the converter, close our program, and the files are still exist. Thanks
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
As long as you do not change temp directory, then these files will be deleted about 5 minutes after your application starts again. Note that you will always have at least one file (the one currently used by your application) left. That file will be open as long as your application is alive, so it will not be deleted during the current cycle of your application --- it will be deleted when your application starts again and keep running for about 5 minutes.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 3/7/2016 Posts: 3
|
Thanks for the answer, but unfortunately it doesn't work. I started my application over and over, waited for a lot longer than 5 minutes, used the converter over and over. In the end, I have 7 eods files under \eods, total size is 2 Giga. It doesn't look like these files are going anywhere.
2 Giga is a significant size in disk space.
What can we do with that? If you need more information, please let me know.
Thanks
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
We will investigate this on our end. In the mean time, you can write a small piece of code to delete "*.eods" in your temp folder when your application starts. Your process's PID is used to create the eods file name, so each process will have a different file name, as such it is safe for you to delete all existing files when your application starts.
Thanks!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
We have found a problem and posted a new build that should address this issue. Please download the new build from our download page and see if it works for you.
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 3/7/2016 Posts: 3
|
Thanks a lot.
I'm using .NET, and up until now I used 2015 version. I used EO.pdf dll and EO.Base dll. It looks like the files have been changed, and now there's also file EO.Pdf.Classic.
Can you please explain how do we use the new version? Which files are relevant?
Thanks
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
|
|