Sometimes, I have to check the validity of some big xml files against a xsd file.
The biggest xml file I received had a size close to 1.5GB.
xmllint took all my RAM and almost all the swap space, for a total memory usage of 18GB.
Consequently, the validation process lasted for 24 hours.
My question: Is there an alternative to xmllint --schema that consumes less memory, perhaps making use of some
I download video from url.
How to check the validity of the video?
If the video is not downloaded completely because for example closed the application or internet was gone, the next time when app start need to define that video is not valid and instead add to the playlist download it again.