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 there is any difference in performance/memory use between movieclip symbol
Hey all, just wondering whether the following would cause a memory leak? char* a
I'm wondering what would be the correct approach after executing a command that allocates
I was wondering if Regex in Java has memory variables like they do in
I am wondering what is the memory overhead of java HashMap compared to ArrayList?
I am wondering whether the index will be fully loaded into memory or not?
So I was wondering if this was a common problem to be leaking memory
I'm wondering, what are good practices for dealing with out of memory errors. void
I'm currently working on a device with very little memory (4MB) and I have
If a Base class does not have a virtual destructor (in order to avoid

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.