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

  • Home
  • SEARCH
  • 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 4617958
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T02:11:53+00:00 2026-05-22T02:11:53+00:00

I was wondering if the memory consumption is different in the Full Framework vs

  • 0

I was wondering if the memory consumption is different in the Full Framework vs the Compact Framework for types and classes that are compatible in between both.
I would also like to know if I target an assembly for the compact framework (a .dll library), and reference it in the desktop machine. Will it use the types from the full framework or the compact. If it is the latter, I assume that the memory consumption should be the same but is it?
My intuition is that compact framework types are simpler as they often have less methods, and many classes are missing. But are the memory representation per object the same? Does this depend on the architecture? (Running it on ARM vs x86 for example)
Is there a resource where I can find more information about this topic?

  • 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-22T02:11:54+00:00Added an answer on May 22, 2026 at 2:11 am

    I’d say it depends a whole lot on the specifics of what you’re looking at. For example, if I have a simple object:

    public class Foo
    {
        public int ID { get; set; }
        public string Name { get; set; }
    }
    

    Then it’s in-memory representation is going to be the same under either framework.

    If, however, I derive from a more complex class that is fundamentally different between the two frameworks, the results will then be different between the frameworks.

    If loaded in the FFx, it’s going to use the FFx assemblies to instantiate the instances, so even though it was compiled for the CF, the FFx will load it under the FFX runtimes, not the CF.

    Processor architecture isn’t going to matter, since these all compile to IL, which is processor-agnostic.

    Of course, since you’re talking memory consumption under managed code, how the GC works is a big factor too, and they work differently in the CF and FFx, so the footprint can be different for identical classes over time between the two framework all depending on usage patterns.

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

Sidebar

Related Questions

i was wondering if the following code would cause some problems like memory leak
I was wondering as to the practicalities of storing an in memory tree structure
I had been wondering for quite some time on how to manager memory in
I'm wondering what are the recommended ways to handle situations where, in memory managed
I'm wondering what people's experiences are with in-memory cache solutions for .net. We need
I was wondering with Google Chrome's extension API, is it possible to extract memory
I was wondering, what (if any) is the difference between creating objects using: NSThing
Wondering if anyone has gotten the infamous database is locked error from Trac and
Wondering if there is any Text to Speech software available as a plug in
Wondering if I need to do something in my swf to be able to

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.