If you simply want to say how big a file is, then is is fine.
This video is 770 megabytes If you want to emphasize how much space it is taking up, you can use occupy in the sense fill, exist in, or use a place This video will occupy most of the free space on my phone.
ell.stackexchange.com/users/30978/JavaLatte
What is wrong with take up ?
The file takes up four megabytes.
Example :
One kilobyte (KB) is a collection of about 1000 bytes.
A page of ordinary roman alphabetic text takes about 2 kilobytes to store (about one byte per letter).
A typical short email would also take up just 1 or 2 kilobytes.
Text is one of the most naturally compact types of data at about one byte required to store each letter.
In non-roman alphabets, such as Kanji, the storage takes up 2 or 4 bytes per "letter" which is still pretty compact compared to audio and images Definition ('take up') to fill or use an amount of space or time The table takes up too much room.
I won't take up any more of your time.
Her time is fully taken up with writing.
( Oxford Learner's Dictionary )
ell.stackexchange.com/users/29924/Alan Carmack
I think most English speakers say "is" or "takes".
"This file is 4 MB" or
"This file takes 4 MB."
We sometimes say "requires", especially if we're discussing whether the person has sufficient room on their device to hold it.
For example when you install new software, you often get a message that says something like, "requires 100 MB, 280 MB available", and then if the "requires" is more than the "available" you get an error message.
Or more casually, you might say to a co-worker, "This file requires 3 GB.
Do you have enough room for it on your thumb drive?"
I've never heard an English-speaker say "weighs 4 MB", though it would make a wonderfully descriptive word for the idea.
If you said "consumes" people would know what you meant and would probably not think it incredibly odd wording, but few would actually say that.
ell.stackexchange.com/users/803/Jay
12 megabytes are the size of the file.
In English, sizes are measured .
Some measurements, like weight, happen to have a special verb attached to them, derived from the measurement process.
"This potato weighs 200 grams" means that, when you weigh the potato, the output of the measuring process is 200 grams .
We have never created a special word for the measuring process of information.
Maybe information theorists have one, but it has never made it into common culture.
So, if you insist on using a verb, you cannot go more specific than This file measures 12 megabytes.
As others have noted, this is not typical usage.
Nobody thinks of measuring a file as a process, because the information about the measurement is available without any action on our part.
So we simply use the contraction This file['s size] is 12 megabytes.
And that's all there is to it.
Sometimes the word you are looking for doesn't exist, because nobody needs it.
ell.stackexchange.com/users/14254/rumtscho
Generally people use the word size for this.
For example "What size is the file?" or "The file size is 6 megabytes".
ell.stackexchange.com/users/40205/bikeman868
There are so many verbs that can be used to convey the sense the OP wants to.
There's nothing wrong with the verb take (up), but the verb occupy is more common and idiomatic.
We can also use the verbs consist of or comprise, but the usage of the comorise is more formal.
The verb be can also be used as a main verb.
So the following sentences are possibe:
This file takes (up) 35 megabytes.
This is a 35-megabyte file.
This file is 35 megabytes.
This file consists of 35 megabytes.
This file comprises 35 megabytes.
However, the sentence
"This file occupies 35 megabytes seems more appropriate than the sentence
"This file takes (up) 35 megabytes".
You can also say: This file has a storage capacity of 35 megabytes.
ell.stackexchange.com/users/9259/Khan
This is exactly the sort of usage for which the English verb comprise is appropriate: The file comprises 4Mb.
I propose, however, that we standarize instead on the elegant Norwegian expression: The file weighs 4Mb.
ell.stackexchange.com/users/37009/P. E. Dant Reinstate Monica
When I was a kid my dad used to say (in Norwegian):   This file  weighs  four megabytes.   Or maybe one could say   This file  consumes  four megabytes.   Or simply   This file  is  four megabytes.   But somehow I'm not sure.  What are some good  verbs  I can use for this?
Verb for how much space a file takes up?
ell.stackexchange.com
<word-request><verbs><verb-usage>
ell.stackexchange.com/questions/100453
ell.stackexchange.com/users/26160/Revetahw says Reinstate Monica
Most English speakers say "is" or "takes", as in "this is a 35-megabyte file" or "this file takes (up) 35 megabytes". There is nothing wrong with "take up".  You might also use "this file comprises", "this file consists of" or "this file size is"... There is no special word for the measurement of information in English. That said, in order to indicate the size of a file, most English speakers use the verb "is", e.g. "This is a 35-megabyte file/This file is 35 megabytes", or the word "size" in this context. Another way of putting it would be "a storage capacity of". The verb "take" or "take up" can also be used, as in "This file takes (up) 35 megabytes", although "occupy" might be preferrable in some cases. "Require" is also an option, especially if there is the question of sufficient storage space on the user's device. "Consumes" could be used, but sounds a little awkward. The verb "comprise" is also appropriate to describe the size of a file, albeit more formal. "Consists" is a good alternative.
In order to indicate the size of a file, most English speakers use the verb "is", e.g. "This is a 35-megabyte file/This file is 35 megabytes". The verb "take" or "take up" can also be used, as in "This file takes (up) 35 megabytes", although "occupy" might be preferrable in some cases. "Require" is also an option, especially if there is also the question of sufficient storage space on the user's device. Another way of putting it would be "a storage capacity of". "Consumes" could be used, but sounds a little awkward. English speakers tend to use the word "size" in this context. The verb "comprise" is appropriate to describe the size of a file, albeit more formal. "Consists" is a good alternative. There is no special word for the measurement of information in English.