Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7507751
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T22:33:00+00:00 2026-05-29T22:33:00+00:00

I understand content length to be the size of an object in byte e.g.

  • 0

I understand content length to be the size of an object in byte e.g. 1 byte or 1024bytes, etc however what is data length? Not sure whether it is language specific but if it is I would like to know how it applies to PHP and ASP.NET

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T22:33:01+00:00Added an answer on May 29, 2026 at 10:33 pm

    For object size you can use memory_get_usage() as per the linked answer.

    For file size you can use filesize();

    EIDT: in line with updated query.

    As per your comment on the question you’d be looking for filesize(), I think.

    • File size is the amount of space on a storage device which is occupied by a given flie.
    • Object size is the amount of RAM that the object consumes while it is
      instantiated.

    Imagine a sheet of paper with ten numbers on it and enough space to write another ten or so. As long as you don’t edit the text on the sheet of paper its contents will remain the same regardless of whether or not you can see or even interact with the sheet of paper.

    Now imagine you need three of these numbers for a task, you’ve (as an example) the capacity to remember a sequence of up to five numbers, so you memorise the sequence. Once you’ve carried out the task you required the sequence for it can be discarded from (your) memory to free up space. Once the sequence has been freed from memory (object destroyed) you will no longer be able to recollect it or similarly if you experience an unexpected life exception, say knock yourself out and you forgot the sequence, the sheet of paper does not.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to send as an object as json HTTP Headers: { Content-Length =
As I understand it, the command to ignore the content of a directory using
First of all, I do understand, that MVC 3 default template's Content folder is
I understand that the elements of a python set are not ordered. Calling the
I can't understand why Java's HttpURLConnection does not follow an HTTP redirect from an
I've created a servlet which reads the content of a file to a byte
If I make a POST request where the content-type is not set in the
I have to connect to a poorly implemented server that only understands Content-Type (capital-T)
I don't understand this: + (void)beginAnimations:(NSString *)animationID context:(void *)context (void *) ----> what kind
I am attempting to understand the c library qsort in the context of pointers

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.