Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Mobile Development
  3. Mobile
  4. Memmory allocated by CPU

Memmory allocated by CPU

Scheduled Pinned Locked Moved Mobile
performancequestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Chandan_srivastava
    wrote on last edited by
    #1

    Hi, Why CPU allocates allocate the memory region, rounded to a 64 KB boundary? Regards, Chandan

    J 1 Reply Last reply
    0
    • C Chandan_srivastava

      Hi, Why CPU allocates allocate the memory region, rounded to a 64 KB boundary? Regards, Chandan

      J Offline
      J Offline
      Joel Ivory Johnson
      wrote on last edited by
      #2

      It's not the CPU allocating memory. It's the operating system and the run time. You've not made mention of what mobile technology you are using (Symbian, Windows Mobile, ...?) so I can't give you the specifics. But memory is always allocated from the OS in blocks. The size of those blocks will vary with the OS and it sounds like the OS that you are using allocates memory in 64kb blocks. If you allocate memory on a desktop it will also be allocated in blocks of a certain size. The size of the block may also vary depending on the runtime you are using. For example, code written against one runtime may cause that run time to acquire a block of memory from the OS and then divide that block into smaller blocks to give to your program as needed. You'll want to do some reading on memory allocation algorithms to get a complete description of what is occurring.

      Joel Ivory Johnson

      Meet my dev team: RDA Architecture Evangelist Team Blog

      My site: J2i.net

      E 1 Reply Last reply
      0
      • J Joel Ivory Johnson

        It's not the CPU allocating memory. It's the operating system and the run time. You've not made mention of what mobile technology you are using (Symbian, Windows Mobile, ...?) so I can't give you the specifics. But memory is always allocated from the OS in blocks. The size of those blocks will vary with the OS and it sounds like the OS that you are using allocates memory in 64kb blocks. If you allocate memory on a desktop it will also be allocated in blocks of a certain size. The size of the block may also vary depending on the runtime you are using. For example, code written against one runtime may cause that run time to acquire a block of memory from the OS and then divide that block into smaller blocks to give to your program as needed. You'll want to do some reading on memory allocation algorithms to get a complete description of what is occurring.

        Joel Ivory Johnson

        Meet my dev team: RDA Architecture Evangelist Team Blog

        My site: J2i.net

        E Offline
        E Offline
        evden eve nakliyat
        wrote on last edited by
        #3

        Thanks for all evden eve nakliyat please go on

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups