Disk runs out of space if Comodo Internet Security is installed
Started by Foks
Foks
Disk runs out of space if Comodo Internet Security is installed 11 October 2021, 12:34 |
OS: Windows 10 with last updates (Windows 11 too)
Comodo Internet Security v12.2.2.8012 (last version)
Re: Disk runs out of space if Comodo Internet Security is installed 12 October 2021, 23:16 |
Admin Registered: 18 years ago Posts: 3 555 |
I guess in your case it may be caused by CIS antivirus that retains a copy of written data for checking, but it should behave the same way with any volume, even a USB thumb drive. It's unlikely to be an issue with our product since a RAM disk is a simple block storage device. It does not allocate space for files or anything like that, only emulates a storage device in RAM.
Foks
Re: Disk runs out of space if Comodo Internet Security is installed 13 October 2021, 00:14 |
Foks
Re: Disk runs out of space if Comodo Internet Security is installed 13 October 2021, 01:03 |
Foks
Re: Disk runs out of space if Comodo Internet Security is installed 13 October 2021, 01:15 |
Darsy
Re: Disk runs out of space if Comodo Internet Security is installed 13 October 2021, 12:31 |
Also, keep in mind that Comodo adds alternate data streams to each NTFS file. If you have many small files, this can create a huge discrepancy between the space that Windows reports as free, and the free space that you would expect to have (calculated as your disk size minus the sum of all file sizes). Moreover, all files downloaded from the internet will also have "Zone.Identifier" stream added, no matter if you have Comodo or not. Those streams are "invisible", so they are not added to the file size, but they do eat into the free space on disks.
Eventually I solved the problem by installing NetGenius - that's how I came across Softperfect! I use NetGenius as a firewall for blocking all unwanted and unnecessary online activities of various apps. It is super light and fast compared to Comodo, and doesn't break the system. And for protection against viruses and other malware I simply adopted a better online hygiene. I became much more aware and careful. I avoid visiting dubious sites, and never open emails or files from untrusted sources. I also occasionally scan my computer with portable scanners like Kaspersky Virus Removal Tool, which can be simply downloaded, run once, and then deleted without leaving a trace.
Foks
Re: Disk runs out of space if Comodo Internet Security is installed 13 October 2021, 12:49 |
Re: Disk runs out of space if Comodo Internet Security is installed 14 October 2021, 16:52 |
Admin Registered: 18 years ago Posts: 3 555 |
Create 600 files 2 MB each with random contents totalling 1.2 GB
Create an 8 GB RAM disk with compressed NTFS
Copy these 600 files ten times from D:\TEMP to R:\TEST and query free space
There is a space discrepancy with 2.2 GB been used while the files occupy 1.2 GB but that's not unusual and not related to the problem you described. The reduced free space can have multiple reasons. One thing to understand is that free disk space will always be less than <Disk size> minus <Total size of all files>. This is because there is a lot of metadata which also eats up space like VSS Snapshots, MFT, logs and so on.
During compression of single files NTFS will temporarily keep the original file until compression has completed. This is to ensure that you still would be left with a valid version of the file in case your computer crashed. This however should only be temporary. Nevertheless everything points to NTFS metadata to cause this, not the RAM Disk.
Foks
Re: Disk runs out of space if Comodo Internet Security is installed 14 October 2021, 18:13 |
Foks
Re: Disk runs out of space if Comodo Internet Security is installed 14 October 2021, 18:15 |
Re: Disk runs out of space if Comodo Internet Security is installed 14 October 2021, 23:31 |
Admin Registered: 18 years ago Posts: 3 555 |
Microsoft has this article on NTFS disk space misreporting, but none of the points are relevant to our case.
I have come to the conclusion that it's not our RAM Disk's fault, but some kind of Windows bug or something.
Foks
Re: Disk runs out of space if Comodo Internet Security is installed 14 October 2021, 23:38 |
Dorientje Woller
Re: Disk runs out of space if Comodo Internet Security is installed 02 July 2023, 16:37 |