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.
I am implementing an app with an expansion file, and as recommended in the Android Developer docs, I am also doing a manual check when the app starts, whether the expansion file exists, and if not, download it manually via the Download Library, that comes with the Android SDK samples.
I have downloaded a game from play store the apk size was about 142 mb so it's definitely contains the apk and an apk expansion file so what i want is that i just need to check the actual size of the apk file excluding the expansion file. How can i do the same ?